|
|
Post companies, which is unknown by you, but you want to know their reputation!
//Latest News of IT market ";
//$news = _m_q("SELECT * FROM news ORDER BY date DESC LIMIT 2");
//$nr = _m_n($news);
//for($a=0;$a<$nr;$a++)
//{
// $news_item = _m_o($news);
// $ddd = MakeDate($news_item->date);
// $poster = get_sql_value("select name from users where id='$news_item->posted'");
//echo "
//$news_item->title
//, posted by $poster at $ddd
// $news_item->text ";
//require ("news_standalone/mails.php");
echo "
About us
This website is for specifying of VoIP providers reputation, their honesty and
creditability. The reputation is formed by worldwide community of VoIP providers
in order to prevent fraud situations at the market! The reputation is valued by
percents: 100% - is the best reputation, and 0% - is the worth reputation, can ever be.
|
";
echo "| ";
/*echo "
";
*/
echo "";
echo " | ";
echo " Last 10 companies, waiting for your comments
Top-20 carriers |
The most popular carriers |
Only carriers with 100% reputation |
Only carriers with 0% reputation
Go to full list |
| |
Provider |
Country |
Reputation |
Com |
Date |
Requested by |
";
if (!$sort)
$query = "SELECT * FROM operators ORDER BY date DESC LIMIT 10";
if ($sort=="popular")
$query = "
SELECT operators.id, operators.company, operators.country, operators.parent, count(votes.id) as posts
FROM operators, votes
WHERE votes.operator=operators.id
GROUP BY operators.id
ORDER BY posts DESC";
if ($sort=="reput100" OR $sort=="reput0")
$query = "SELECT * FROM operators ORDER BY date";
if (!$query or $query=="") $query = "SELECT * FROM operators ORDER BY date";
$oper = _m_q($query);
$n = _m_n($oper);
$allow = "1";
for ($a=0;$a<$n;$a++)
{
$op = _m_o($oper);
$cdate = MakeDate($op->date);
$ParentName = get_sql_value("SELECT name FROM users WHERE id='$op->parent'");
$reputation = getReputation($op->id);
$reputNum = getReputationNumber($op->id);
$com = get_sql_value("SELECT COUNT(id) FROM votes WHERE operator='$op->id'");
if ($com<=0) $com="-";
$allow = "1";
if ($sort=="reput100" and $reputNum!="100") $allow = "0";
if ($sort=="reput0" and $reputNum!="0") $allow = "0";
if ($allow == "1")
{
echo "
 |
id class=oper>$op->company |
$op->country |
$reputation |
$com |
$cdate |
$ParentName |
";
}
}
echo "
Go to full list |
";
?>
|