I add that code
HTML Code:
<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
<td align="$stylevar[right]">
<ad what="unks" />
</td>
</tr>
</table>
<!-- /logo -->
<!-- content table -->
$spacer_open
$_phpinclude_output
But when i try to save it, return me this:
HTML Code:
Database error in vBulletin 3.5.2:
Invalid SQL:
INSERT INTO vb3_template
(styleid, title, template, template_un, dateline, username, version, product)
VALUES
(1,
'header',
'<!-- logo -->\r\n<a name=\\\"top\\\"></a>\r\n<table border=\\\"0\\\" width=\\\"$stylevar[outertablewidth]\\\" cellpadding=\\\"0\\\" cellspacing=\\\"0\\\" align=\\\"center\\\">\r\n<tr>\r\n <td align=\\\"$stylevar[left]\\\"><a href=\\\"\" . $GLOBALS[\'vbulletin\']->options[\'forumhome\'] . \".php\" . $GLOBALS[\'vbulletin\']->session->vars[\'sessionurl_q\'] . \"\\\"><img src=\\\"$stylevar[titleimage]\\\" border=\\\"0\\\" alt=\\\"\" . $GLOBALS[\'vbulletin\']->options[\'bbtitle\'] . \"\\\" /></a></td>\r\n <td align=\\\"$stylevar[right]\\\">\r\n \" . view_ad(\"unks\", \"0\", \"\", \"\", \"0\") . \"\r\n \r\n </td>\r\n</tr>\r\n</table>\r\n<!-- /logo -->\r\n\r\n<!-- content table -->\r\n$spacer_open\r\n\r\n$_phpinclude_output',
'<!-- logo -->\r\n<a name=\"top\"></a>\r\n<table border=\"0\" width=\"$stylevar[outertablewidth]\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\">\r\n<tr>\r\n <td align=\"$stylevar[left]\"><a href=\"$vboptions[forumhome].php$session[sessionurl_q]\"><img src=\"$stylevar[titleimage]\" border=\"0\" alt=\"$vboptions[bbtitle]\" /></a></td>\r\n <td align=\"$stylevar[right]\">\r\n <ad what=\"unks\" />\r\n \r\n </td>\r\n</tr>\r\n</table>\r\n<!-- /logo -->\r\n\r\n<!-- content table -->\r\n$spacer_open\r\n\r\n$_phpinclude_output',
5756784532,
'admin',
'3.5.2',
'vbulletin');
MySQL Error : Table 'lottosqueeze-org_5.vb3_template' doesn't exist
Error Number : 1146
Date : Monday, December 26th 2005 @ 09:14:08 PM
Script : http://www.lottosqueeze.org/forum/admincp/template.php
Referrer : http://www.lottosqueeze.org/forum/admincp/template.php?s=&do=add&dostyleid=1&title=header&group=all&searchstring=&expandset=1
IP Address : 87.3.252.86
Username : admin
Classname : vb_database
It seems try to save my Header template in the database of phpadsnew and not on vbulletin db