Log in

View Full Version : custom code messy :(


anuanu
12-03-2007, 12:59 AM
1. Im sorry if this is in the wrong section and mods/admin please move if it is.

2. I created a custom page on my template but it seems my code is wrong somehow... Can you guys/gals that know the code listed below fix the problem in the jpg i attaced?


3. I removed the middle portion of the code because its to long but the middle part is only <a href tags




$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[bbtitle]</title>
</head>
<body>
$header
$navbar
<!-- Custom Code Start Here -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="left">
<tr>
<td class="tcat" colspan="3">
Downloadable Maps
</td>
</tr>
<tr>
<td class="panelsurround" align="center" colspan="3">
<table class="panel" cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
<tr>
<td align="$stylevar[left]">
<fieldset class="fieldset" style="margin:0px">
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<td>
</table>
<pre>
( I removed this code here)
</pre>
<hr width="100%">
</td>
</tr>
</table>
</fieldset>
</td>
</tr>
</table>
</td>
</tr>

<!-- / Custom Code Ends here -->
$footer
</body>
</html>

Awjvail
12-03-2007, 04:30 AM
Have you read this?

https://vborg.vbsupport.ru/showthread.php?t=62164

anuanu
12-03-2007, 07:17 AM
Just did that and I have it set to downloads.php

However the page still looks the same.

Awjvail
12-03-2007, 07:53 AM
see if there is any blank space in there or if any tags are left open

anuanu
12-03-2007, 07:59 AM
yea ive checked all of that already all opened tags are closed and no extra spaces.

Awjvail
12-03-2007, 08:25 AM
Try removing the "<pre>
( I removed this code here)
</pre>" part. Just comment it out instead of removing it incase it doesn't work.

Otherwise, I'm at a loss.

What was the part you removed, anyway?

anuanu
12-03-2007, 04:01 PM
If i remove the <pre> tages on attachment 1 its worse but with a different style it looks like attachment 2


And the stuff i removed was this:
I removed it because all of it exceeded the 20000 character limit lol, Below is only a small portion of it but its basically all the same just different file names/locations


<a href="downloads/maps/Aim_train_Neo_Beta.bsp">Aim_train_Neo_Beta.bsp</a> 04-Nov-2007 09:36 691K
<a href="downloads/maps/BattleRoyale.bsp">BattleRoyale.bsp</a> 04-Nov-2007 09:31 3.1M
<a href="downloads/maps/Fy_SouthPark.bsp">Fy_SouthPark.bsp</a> 05-Nov-2007 01:09 18M
<a href="downloads/maps/ScoutzKnivez_Source.bsp">ScoutzKnivez_Source.bsp</a> 05-Nov-2007 02:36 7.5M
<a href="downloads/maps/TheWall_Shotty_Neo.bsp">TheWall_Shotty_Neo.bsp</a> 05-Nov-2007 06:25 183K
<a href="downloads/maps/Z-T_cool_down.bsp">Z-T_cool_down.bsp</a> 05-Nov-2007 00:29 531K
<a href="downloads/maps/aim_aztec2_css.bsp">aim_aztec2_css.bsp</a> 04-Nov-2007 09:32 2.2M
<a href="downloads/maps/aim_icemap.bsp">aim_icemap.bsp</a> 04-Nov-2007 09:32 1.6M
<a href="downloads/maps/aim_iceworld_source_b1.bsp">aim_iceworld_source_b1.bsp</a> 04-Nov-2007 09:33 2.9M
<a href="downloads/maps/aim_map_source.bsp">aim_map_source.bsp</a> 04-Nov-2007 09:34 1.9M
<a href="downloads/maps/aim_paintball.bsp">aim_paintball.bsp</a> 04-Nov-2007 09:34 950K

anuanu
12-05-2007, 03:41 AM
Anyone have any idea's?