Parašė RAMIAKSS112· 2011 Vas. 16 16:02:22
#1
AS esu zalias taigi nezinau kur ikelt ar tai banerio direktorija is ftp ar web linka kur ira baneris ir jeigu galit pasakikit kurioje vietoje :) aciuu
<?php
openside_panel("REKLAMA");
$bresult2 = dbquery("select * from ".$db_prefix."banner WHERE status='1' ORDER BY RAND() limit 0,1");
while($banner = dbarray($bresult2)) {
$banner_display = '<center><a target="_banner" href="'.INFUSIONS.'banner_panel/click.php?bid='.$banner['bid'].'"><img src="'.$banner['imageurl'].'" border="0" height="60'.$bannerheight.'" width="486'.$bannerwidth.'"></a><br></center>';
//check ownership user to client id
if($banner['cid']!=$userdata['user_id'])
{
//add the impression
dbquery("update ".$db_prefix."banner set impmade=impmade+1 where bid=$banner[bid]");
}
:s:?
Parašė RAMIAKSS112· 2011 Vas. 16 18:02:11
#2
Jau suradau aciu kad nepadejot...:[ :p:]
Redagavo RAMIAKSS112· 2011 Vas. 16 18:02:00