grazie della risposta...ho provato a cerca su internet come poterlo implementare ma non ho idea...forse si deve implementare tutto il codice e quello è un semplice link??...non ho idea
la line di codice è questa <th>Price</th> propio all'inizio
codice:<div class="table_wrapper"> <div class="table_wrapper_inner"> <table cellpadding="0" cellspacing="0" width="100%"> <tbody><tr> <th>Rank</th> <th class="photo"><span>Web Host</span></th> <th>Ranking</th> <th>Price</th> <th>Features</th> <th>Coupons</th> <th>Actions</th> </tr> <?php $num_item_in_page = 10; $pre = $_GET['page']; if(!isset($pre)) { $pre = 1; } $offset = ($pre-1)*$num_item_in_page; $sql = "select * from hosts order by rating DESC LIMIT $offset, $num_item_in_page"; //print_r($sql); //die(); $rs = mysql_query($sql); $nr = @mysql_num_rows(mysql_query("select * from hosts order by rating")); $total_pages = ceil($nr/$num_item_in_page); $i = 0; while ($row=@mysql_fetch_array($rs)) { $i++; extract($row); $features = explode(" | ", $features); $rating == 0 ? $rating = "Not rated yet" : $rating = $rating; $stars = makeStars(round($rating)); $rating = $rating*20; $rating = "$rating % $stars" ?> <?php print "<tr class=\"first\"><td style=\"width: 5px; text-align: center;\">$i</td> <td style=\"width: 160px; text-align: center;\"><a href=\"$url\"><img src=\"$logo\" alt=\"$title\"/></a> <a href=\"$url\" class=\"product_name\">$title</a></td> <td style=\"text-align: center;\"><a href=\"$url\"><img src=\"$guage\" border=\"0\"/></a> $rating</td> <td style=\"text-align: center;\">$price</td> <td> <ul style=\"list-style-image:url(images/checked.png)\"> [*]<a href=\"$url\">$features[0]</a> [*]<a href=\"$url\">$features[1]</a> [*]<a href=\"$url\">$features[2]</a> [/list] </td> <td style=\"text-align: center;\"><a href=\"$url\" onClick=\"(alert('$title Coupon = $coupon'))\"><img src=\"/images/Scissors-icon.png\" border=\"0\"/> Coupon</a></td> <td style=\"text-align: center;\"> <div class=\"actions_menu\"> <ul>[*]<span class=\"button orange_btn\"><span><span>Go Now</span></span><input onclick=\"window.location='$url'\" type=\"submit\" name=\"\"/></span> [*]<a class=\"edit\" href=\"view-page-1-2-1-$id-$title.html\">View</a> [*]<a class=\"delete\" href=\"submit_review.php\">Review</a> [*]<fb:like href=\"$url\" layout=\"button_count\" font=\"lucida grande\" ref=\"home_$title\"></fb:like> [/list] </div> </td></tr>";?> <?php } ?> </tbody></table> </div> </div> </div> <?php echo pagination($total_pages,$pre) ?> <!-- <div class="pagination"> <span class="page_no">Page 1 of 217</span> <ul class="pag_list"> [*]<span><span>PREVIOUS</span></span> [*]1 [*]<span><span>2</span></span> [*]3 [*]4 [*]5 [*][...] [*]217 [*]<span><span>NEXT</span></span> [/list] </div> --> </div> </div> </div> </div> </div> <span class="scb"><span class="scb_left"></span><span class="scb_right"></span></span> </div> </div> </div> </div> <?php include('left.php'); ?> </div> <?php include('footer.php'); ?>

Rispondi quotando