Scripts    Contact    Donations    Affiliate program    Affiliate login    Mods   


NEW! Mods section!

Affiliates:
Scripts:
Script downloads:
/*USE THIS TO INCLUDE THE POSTS ANYWHERE ON YOUR PAGE*/ <?php include_once(\"top.php\");?> /*SAVE THE FOLLOWING IN YOUR templates FOLDER AS template-top.html*/ <tr> <td class=gallerytitlestyle> <a href=%outurl%&amp;title=%seotitle% title=\"%title%\" target=_blank>%title%</a> - %date% - <a href=aim:GoIM?message=Check+out+this+babe!+%urltogallery%>AIM This Gallery</a> - <a href=%urltogallery%&amp;title=%seotitle%>Link To This Gallery</a> </td> </tr> <tr> <td align=center> <a href=%outurl%&amp;title=%seotitle% title=\"%title%\" target=_blank><img src=%imageurl% title=\"%title%\" alt=\"%title%\" border=0></a><br /> %description% </td> </tr> <tr> <td class=gallerytitlestyle align=right> <a href=%outurl%&amp;title=%seotitle% target=_blank>%url%</a> - <b>Clicks:</b> %clicks% - <b>Category:</b> <a href=%categoryurl%>%category%</a> </td> </tr> <tr> <td class=gallerytitlestyle align=right> <b>Submitted By:</b> %poster% - <b>Rating:</b> %rating% %ratebox% - <a href=%commentsurl%&amp;title=%seotitle%>%comments% comment(s)</a> </td> </tr> /*SAVE THE FOLLOWING AS top.php IN THE SCRIPTS FOLDER, EDIT THE FIRST 3 VARIABLES TO YOUR LIKING*/ <?php include_once(\"mysql.php\"); $amount=\"3\"; $order_by=\"time\"; //Options: time,url,clicks,title,category,description $order=\"DESC\"; ?> <table> <?php $result=mysql_query(\"SELECT * FROM babeloggerv4 WHERE approved=\'yes\' AND \'\".time().\"\'>=time ORDER BY $order_by $order LIMIT $amount\") or die(mysql_error()); while($row=mysql_fetch_array($result)) { $ratebox=\" <form action=rate.php?a=rate&amp;id=$row[id] method=post> <select name=rate onChange=\'this.form.submit();\'> <option selected>Rate</option> <option value=\'10\'>Best 10>></option> <option value=\'9\'>9</option> <option value=\'8\'>8</option> <option value=\'7\'>7</option> <option value=\'6\'>6</option> <option value=\'5\'>5</option> <option value=\'4\'>4</option> <option value=\'3\'>3</option> <option value=\'2\'>2</option> <option value=\'1\'><<1 Worst</option> </select> </form> \"; if($row[ratedtally]==\"0\"){$rating=\"No Rating\";}else{$rating=substr(($row[ratedtotal]/$row[ratedtally]), 0, 3);} $result2=mysql_query(\"SELECT linkid FROM babeloggerv4_comments WHERE linkid=$row[id]\"); $comments=mysql_num_rows($result2); $date=date(\"$date_format\",$row[time]); $description=nl2br($row[description]); $temp=file_get_contents(\"templates/template-top.html\"); $gallery=str_replace(\"%url%\",substr($row[url],0,$max_url_chars),$temp); $gallery=str_replace(\"%urltogallery%\",\"$script_url/index.php?gal=$row[id]\",$gallery); $gallery=str_replace(\"%commentsurl%\",\"$script_url/comments.php?id=$row[id]\",$gallery); $gallery=str_replace(\"%comments%\",\"$comments\",$gallery); $gallery=str_replace(\"%categoryurl%\",\"$script_url/?cat=\".urlencode($row[category]).\"\",$gallery); $gallery=str_replace(\"%category%\",\"$row[category]\",$gallery); $gallery=str_replace(\"%outurl%\",\"out.php?id=$row[id]\",$gallery); $gallery=str_replace(\"%title%\",htmlentities($row[title]),$gallery); $gallery=str_replace(\"%seotitle%\",\"\".urlencode($row[title]).\"\",$gallery); $gallery=str_replace(\"%description%\",\"$description\",$gallery); $gallery=str_replace(\"%clicks%\",\"$row[clicks]\",$gallery); $gallery=str_replace(\"%poster%\",\"$row[poster]\",$gallery); $gallery=str_replace(\"%date%\",\"$date\",$gallery); $gallery=str_replace(\"%rating%\",\"$rating\",$gallery); $gallery=str_replace(\"%ratebox%\",\"$ratebox\",$gallery); $gallery=str_replace(\"%imageurl%\",$script_url.$images_path.$row[imgname],$gallery); print $gallery; } ?> </table>