irfiii
Developer · 249 posts
15 years ago
#8
gbtop script Toplist GB w/o categories!
Replace Your Header and Footer templates with these
Header
<?
echo('<?xml version="1.0" encoding="UTF-8"?>');
if($WAP==2)
{
?>
<!-- Start xhtml -->
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="description" content="MobiDoby Top Mobile wap Sites is a mobile toplist for mobile wap sites.add your site at top.mobidoby.com Grow Your site traffic. get free visitors, boost site traffic free mobile downloads." />
<meta name="keywords" content="Mobile Wap Sites, toplist,wap toplist,mobile,toplist,directory,link,mobile toplist,wap,top sites, grow traffic, free visitors, get visitors, downloads, mobile sites"/>
<style type="text/css">
body {background-color:#ececec}
body,td {font-family: Times,"Times New Roman";;color:#000000;font-size:9pt}
tr {backgroud:#fff;}
th,tr.dark {background-color:#ffffff}
a:active ,a:visited{ color : #1d7ca7; text-decoration : none; }
a:link { color :#1d7ca7;text-decoration : none;}
a:hover { color : #222;}
p{display:none;}
.header {text-align: center; COLOR: #FFFFFF; background-color: #4175a9; background-image : url(foot.gif); padding: 2px; font-size: 12px;}
.header2 {text-align: center; a:link { color :#1d7ca7;text-decoration : none; COLOR: #000000; background-color: #0054a7; padding: 2px; font-size: 12px;}
</style>
<title>#%SITE_NAME%#</title>
</head>
<body>
<div class="header"><b>Top.MobiDoby.Com</b></div>
<center>Bookmark Now!<br/></center>
<left>
<a href="gout.php?link=FREE-downloads">Top Sites</a><br/>
<a href="gout.php?link=NEW-downloads">HoT Site of the Day</a><br/>
<a href="http://c.mobpartner.mobi/?s=105646">Create Your Own Site Free!</a><br/>
<div class="header"><b>Best WAP Sites</b></div>
</left>
<table width="100%" cellspacing="0" cellpadding="2">
<?
}
else
{
?>
<!-- Start wml -->
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<template>
<do type="prev" name="Back">
<prev/>
</do>
</template>
<card id="home" title="#%SITE_NAME%#">
<p>
<a href="go.php?link=new-downloads">New Downloads</a><br/>
Categories:<br/>
#%MENU_START%#<a href="#%CATEGORY%#.php">#%CAT_TITLE%#</a><br/>#%MENU_END%#
<br/>
Best:<br/>
<!-- End wml -->
<?
}
?>
Footer
<?
if($WAP==2)
{
?>
<!-- Start xhtml -->
</table>
<div class="header2">
#%NEXT_START%#<a href="#%NEXTPAGE%#.php">Next ></a> ||#%NEXT_END%#
#%PREV_START%#<a href="#%PREVPAGE%#.php">< Prev</a><br/>#%PREV_END%#
</div>
<small><?php include("user_online.php");?> user Online</small><br/>
<small>#%MEMBERS%# active sites</small><br/>
<small>in-out stats for 48 hours</small><br/>
<a href="webmasters.php?wap=add">Add/Edit site</a><br/>
<a href="http://mtop.co/?id=topmobidobycom">Our Other Toplists</a><br/>
<div class="header"><b>Top.MobiDoby.Com</b></div><p>
<!-- End xhtml -->
<?
}
else
{
?>
<!-- Start wml -->
<br/>
#%NEXT_START%#<a href="#%NEXTPAGE%#.php">Next ></a><br/>#%NEXT_END%#
#%PREV_START%#<a href="#%PREVPAGE%#.php">< Prev</a><br/>#%PREV_END%#
<br/>
<small>#%MEMBERS%# active sites</small><br/>
<a href="webmasters.php?wap=add">Add site</a><br/>
<!-- End wml -->
<p style="display:none;">
<?
}
?>
and if necessry
replace main templet also
Main
<?
if($WAP==2)
{
?>
<!-- Start xhtml -->
<tr class="#%ROW_COLOR%#"><td><small>#%RANK%#.</small><a href="#%OUT_URL%#">#%TITLE%#</a> <small>#%CLICKS%#/#%HITS_OUT%#</small></td></tr>
<!-- End xhtml -->
<?
}
else
{
?>
<!-- Start wml -->
#%RANK%#. <a href="#%OUT_URL%#">#%TITLE%#</a> #%CLICKS%#/#%HITS_OUT%#<br/>
<!-- End wml -->
<?
}
?>