Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Tophost parama

Parašė Andy· 2011 Bal. 4 20:04:46
#3

Būt geriau, kad apskritai visi adminai galėtų, kažką panašaus iškart bandžiau, bet nesigavo

ištraukiau iš remti.php antrąją lentelę:

echo "<center><br /><b>Jau pirko:</b><br />";
echo "<table border='1' cellpadding='0' cellspacing='0'><tr><td><table border='0' cellpadding='0' cellspacing='0' width='500px'>";
echo "<tr>
<th><table border='1' height='100%' width='100%' cellpadding='0' cellspacing='0'><tr><th bgcolor='#3BB9FF'>Nickas</th></tr></table></th>
<th><table border='1' height='100%' width='100%' cellpadding='0' cellspacing='0'><tr><th bgcolor='#3BB9FF'>Numeris</th></tr></table></th>
<th><table border='1' height='100%' width='100%' cellpadding='0' cellspacing='0'><tr><th bgcolor='#3BB9FF'>Tinklas</th></tr></table></th>
<th><table border='1' height='100%' width='100%' cellpadding='0' cellspacing='0'><tr><th bgcolor='#3BB9FF'>Suma</th></tr></table></th>
<th><table border='1' height='100%' width='100%' cellpadding='0' cellspacing='0'><tr><th bgcolor='#3BB9FF'>Data</th></tr></table> </th>";
echo "</tr>";

$result = mysql_query("SELECT * FROM parama ORDER BY data ");
$tophostnick = strtoupper($tophostnick);

while($row = mysql_fetch_array($result)) {

$price = $row['price'];
$num = $price / 100;
$lt = number_format($num,2);
$lt = number_format($lt,2);
echo "<tr bgcolor='#ffffff' onmouseover=\"this.style.background='#557FFF';\" onmouseout=\"this.style.background='white';\">";
echo "<td align='center'>";
$sms = $row['sms'];
$sms = strtoupper($sms);
$sms = str_replace("$tophostnick"," ",$sms);
echo "$sms";
echo "</td>";
echo "<td align='center'>";
$number = array("0" => "*","1" => "*","2" => "*","3" => "*","4" => "*","5" => "*","6" => "*","7" => "*","8" => "*","9" => "*");
$nr = "".$row['nr']."";
$nrhide = strtr($nr,$number);
echo "+$nr[0]$nr[1]$nr[2] $nr[3]$nrhide[4]$nrhide[5]$nrhide[6]$nrhide[7]$nr[8]$nr[9]$nr[10]";
echo "</td>";
echo "<td align='center'>";
$operator = "".$row['operator']."";
$operator = strtoupper($operator);
echo $operator;
echo "</td>";
echo "<td align='center'>$lt LTL</td>";
echo "<td aling='center'>".$row['data']."</td>";
echo "</tr>"; }

echo "</tr></table></td></tr></table>";
echo "</center>";
closetable();
require_once THEMES."templates/footer.php";
?>