Parašė InTer· 2009 Bal. 25 18:04:07
#1
Sveiki, ar įmanoma padaryti tarp banerio ir navigacijos(tame tarpe) kad būtų reklama? Jei įmanoma tai kaip galima tai padaryti?
theme.php:
function render_header($header_content) {
global $theme_width,$locale,$data,$aidlink,$db_prefix;
echo "<table align='center' cellpadding='0' cellspacing='0'>\n<tr>
<tr>
<td colspan='11'
background='".THEME."images/gtaaa_03.jpg' width='911' height='152' alt=''></td>
</tr>
<tr>
<td
background='".THEME."images/gtaaa_05.jpg' width='146' height='35' alt=''></td>
<td>
<a href='".BASEDIR."news.php'><img src='".THEME."images/gtaaa_06.jpg' width='55' height='35' border='0' alt=''></a></td>
<td>
<a href='".BASEDIR."viewpage.php?page_id=17'><img src='".THEME."images/gtaaa_07.jpg' width='68' height='35' border='0' alt=''></a></td>
<td>
<a href='".FORUM."index.php'><img src='".THEME."images/gtaaa_08.jpg' width='68' height='35' border='0' alt=''></a></td>
<td>
<a href='".BASEDIR."contact.php'><img src='".THEME."images/gtaaa_09.jpg' width='73' height='35' border='0' alt=''></a></td>
<td>
<a href='".BASEDIR."downloads.php'><img src='".THEME."images/gtaaa_10.jpg' width='71' height='35' border='0' alt=''></a></td>
<td>
<a href='".BASEDIR."faq.php'><img src='".THEME."images/gtaaa_11.jpg' width='65' height='35' border='0' alt=''></a></td>
<td>
<a href='".BASEDIR."photogallery.php'><img src='".THEME."images/gtaaa_12.jpg' width='62' height='35' border='0' alt=''></a></td>
<td>
<a href='".BASEDIR."http://gtafanai.lt/infusions/reklama/reklama.php'><img src='".THEME."images/gtaaa_13.jpg' width='70' height='35' border='0' alt=''></a></td>
<td>
<a href='".BASEDIR."articles.php'><img src='".THEME."images/gtaaa_14.jpg' width='76' height='35' border='0' alt=''></a></td>
<td
background='".THEME."images/gtaaa_15.jpg' width='157' height='35' border='0' alt=''></td>
</tr>
<tr>
<td colspan='11'
background='".THEME."images/gtaaa_16.jpg' width='0' height='0' alt=''>
<table align='left' width='20px' cellpadding='0' cellspacing='0'>";
echo "</table>
<table align='left' width='320px' cellpadding='0' cellspacing='0'>";
echo "</td><td></td><td style='padding-top: 18px; padding-left: 42px;' align='left' width='320'>";
$result = dbquery("
SELECT * FROM ".$db_prefix."threads
INNER JOIN ".$db_prefix."forums ON ".$db_prefix."threads.forum_id=".$db_prefix."forums.forum_id
WHERE ".groupaccess('forum_access')." ORDER BY thread_lastpost DESC LIMIT 7
");
echo "</td></tr></table></td></tr></table>";
echo "<table align='center' cellpadding='0' cellspacing='0' width='911px'>\n<tr>\n";
}
Redagavo InTer· 2009 Bal. 25 18:04:03
Parašė Gugiss· 2009 Bal. 25 22:04:15
#3
bandyk pries sita yterpt koda:
<table align='left' width='320px' cellpadding='0' cellspacing='0'>";
echo "</td><td></td><td style='padding-top: 18px; padding-left: 42px;' align='left' width='320'>";
$result = dbquery("
SELECT * FROM ".$db_prefix."threads
INNER JOIN ".$db_prefix."forums ON ".$db_prefix."threads.forum_id=".$db_prefix."forums.forum_id
WHERE ".groupaccess('forum_access')." ORDER BY thread_lastpost DESC LIMIT 7
");