Jump to content

[SOLVED] Quick PHP bug, need help


Houston

Recommended Posts

image 1

 

  <html>

  <head>

  <title>.:Asia Underworld:.</title>

  <meta name="author" CONTENT="tomtomtom">

<link href="../../css/main.css" rel="stylesheet" type="text/css"><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><style type="text/css">

<!--

{literal}body {

background-image: url(../../images/indexbg.jpg);{/literal}

}

-->

</style> 

 

  {include file="css_js.htm"}

 

  </head>

 

  <body bgcolor="#111111" onLoad="grabit()" onkeypress="screenshotHide(event)">

  <div id="dhtmltooltip"></div>

  <center>

  <br>

  <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0" class="cat">

 

{include file="header.htm"}

 

  <tr>

  <td width="120" background="" valign="top">

 

{include file="left.htm"}

 

</td>

<td width="99%" background="" bgcolor="#333333" valign="top">

  <br>

 

  <center>

  <table width=75% border=0 align="center" cellpadding=0 cellspacing=0 class=cat>

    <tr class="sub3">

      <td align=center colspan=4 class=headerbar><div align="left">- Character Statistics</div></td>

    </tr>

    <tr>

      <td width=18% class="sub3">Gun:</td>

      <td colspan=2 class="sub3">{if ($arrUserDetail[1]=="")}None{else}{$arrUserDetail[1]}{/if}</td>

      <td class="sub3"> </td>

    </tr>

    <tr>

      <td width=18% class="sub3">Gun Skill:</td>

      <td colspan=2 class="sub3">{$rowDetail[0]}%</td>

      <td class="sub3"><table border=0 cellspacing=0 cellpadding=0 width=100% class=sub2>

          <tr>

            <td width="{$rowDetail[0]}%" align="right" background="../../images/rankbar.gif">{$rowDetail[0]}%</td>

            <td width="{math equation="x-y" x=100 y=$rowDetail[0]}%" align="left"></td>

          </tr>

      </table></td>

    </tr>

    <tr>

      <td class="sub3">Protection:</td>

      <td colspan=2 class="sub3">{if ($arrUserDetail[3]=="")}None{else}{$arrUserDetail[3]}{/if}</td>

      <td class="sub3"> </td>

    </tr>

    <tr>

      <td class="sub3">Health:</td>

      <td colspan=2 class="sub3">{$arrUserDetail[6]}%</td>

      <td class="sub3"><table border=0 cellspacing=0 cellpadding=0 width=100% class=sub2>

          <tr>

            <td width="{$arrUserDetail[6]}%" align="right" background="../../images/healthbar.gif">{$arrUserDetail[6]}%</td>

            <td width="{$arrUserDetail[8]}%" align="left"></td>

          </tr>

      </table></td>

    </tr>

    {if ($arrUserDetail[5] != "Head Boss")}

  <tr>

    <td class="sub3">Rank Bar :</td>

    <td colspan=2 class="sub3">{$arrUserDetail[5]}</td>

    <td class="sub3"><table border=0 cellspacing=0 cellpadding=0 width=100% class=sub2>

      <tr>

        <td width="{$nextRankRatio}%" align="right" background="../../images/gunbar.gif">{$nextRankRatio}%</td>

        <td width="{math equation="x-y" x=100 y=$nextRankRatio}%" align="left"></td>

      </tr>

    </table></td>

  </tr>

    {/if}

  <tr>

    <td class="sub3">Money:</td>

    <td colspan=2 class="sub3">${$arrUserDetail[4]}</td>

    <td class="sub3"> </td>

  </tr>

  <tr class="sub3">

    <td align=center colspan=4 class=headerbar><div align="left">- Game  Statistics</div></td>

  </tr>

  <tr>

    <td class="sub3">Crimes (Success):</td>

    <td width=26% class="sub3">{$crimeSuccess}</td>

    <td class="sub3">Busts (Success):</td>

    <td width=31% class="sub3">{$bustSuccess}</td>

  </tr>

  <tr>

    <td width=18% class="sub3">Crimes (Failed):</td>

    <td width=26% class="sub3">{$crimeFail}</td>

    <td width=25% class="sub3">Busts (Failed):</td>

    <td width=31% class="sub3">{$bustFail}</td>

  </tr>

  <tr>

    <td class="sub3">GTA (Success):</td>

    <td width=26% class="sub3">{$stealSuccess}</td>

    <td class="sub3">Kills (Success):</td>

    <td class="sub3">{$killSuccess}</td>

  </tr>

  <tr>

    <td class="sub3">GTA (Failed):</td>

    <td width=26% class="sub3">{$stealFail}</td>

    <td class="sub3">Kills (Failed):</td>

    <td class="sub3">{$killFail}</td>

  </tr>

  <tr>

    <td class="sub3">Smuggling (Transactions):</td>

    <td width=26% class="sub3">{$boozeTimes}</td>

    <td class="sub3">Org. Crimes (Total):</td>

    <td width=31% class="sub3">{$ocTotal}</td>

  </tr>

  <tr>

    <td class="sub3">Caught By Police(Total):</td>

    <td class="sub3">{$totalArrested}</td>

    <td class="sub3">Traveled (Total):</td>

    <td width=31% class="sub3">{$toatalTravel}</td>

  </tr>

  <!--

<tr>

<td>Online (Total D:H:M):</td>

<td width=25%>{$totalOnlTime}</td>

<td>Jail Time (H:M:S):</td>

<td width=25%>{$totalArrTime}</td>

</tr>

<tr>

<td>Online (Idle D:H:M):</td>

<td width=25%>{$totalIdleTime}</td>

<td colspan=2> </td>

</tr>

-->

  </table>

  </td>

<td width="120" background="" valign="top">

 

{include file="right.htm"}

 

  </td>

  </tr>

  </table>

</body>

</html>

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

image 2

<html>

  <head>

  <title>.:Asia Underworld:.</title>

  <meta name="author" CONTENT="tomm"><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><style type="text/css">

<!--

{literal}body {

background-image: url(../../images/indexbg.jpg);{/literal}

}

-->

</style>

<link href="../../css/main.css" rel="stylesheet" type="text/css"> 

  {include file="css_js.htm"}

  </head>

 

  <body bgcolor="#111111" onLoad="grabit()" onkeypress="screenshotHide(event)">

  <div id="dhtmltooltip"></div>

  <center>

  <br>

  <table border="0" cellspacing="0" cellpadding="0" width="95%" class="cat">

 

{include file="header.htm"}

 

  <tr>

  <td width="120" background="" valign="top">

 

{include file="left.htm"}

 

</td>

<td width="99%" background="" bgcolor="#333333" valign="top">

  <span class="error"><br>

  </span>

  <center>

    <span class="error"> {if ($error!="")}<font color="red">{$error}</font><br>

    <br>

    {/if}

  {if ($msg!="")}{$msg}<br>

    </span><br>{/if}

  <!--center start-->

<table border="0" cellspacing="0" cellpadding="10" width="100%">

  <tr>

  <td><center>

 

 

<table border=0 cellspacing=0 cellpadding=0 width=60% bordercolor=black class=sub2>

<form method=POST action=offforum.php>

{if ($hasRight) }

<center>

<input type=hidden name="frmCode" value="select">

<input type=submit name=action value="Delete Selected" class=sub2 style="border: 1px; solid; width: 115px;">

    <input type=submit name=action value="Make Selected Sticky" class=sub2 style="border: 1px; solid; width: 145px;">

    <input type=submit name=action value="Make Selected Important" class=sub2 style="border: 1px; solid; width: 145px;"> <br><br>

    <input type=submit name=action value="Cancel Sticky or Important" class=sub2 style="border: 1px; solid; width: 145px;">

</center>

<br>

{/if}

<tr>

<td colspan=3 class=headerbar align=center><div align="left">- Game Forum</div></td>

</tr>

 

{section name=msg loop=$arrmsg start = 0 max = $$arrmsgCount }

<tr>

<td>

<table border=0 cellspacing=0 cellpadding=2 width=100%>

<tr class=sub3>

<td width=50% class="forums">

{if ($hasRight) }

<input type="checkbox" name="tid[]" value="{$arrmsg[msg][0]}">

{/if}

{if ($arrmsg[msg][4]==3)}<b>IMPORTANT</b>

{elseif ($arrmsg[msg][4]==2)}<b>STICKY</b>

{/if}

<a href="gamethread.php?id={$arrmsg[msg][0]}">{$arrmsg[msg][1]|truncate:30:"...":true}</a>

{if ( $arrmsg[msg][2]== 2 )}(<i>Locked<i>){/if}</td>

<td width=40% class="forums"><a href="viewprofile.php?user={$arrmsg[msg][3]}">{$arrmsg[msg][3]}</a></td>

<td width=8% align=right class="forums">{$arrmsg[msg][5]}</td>

</tr>

</table> </td>

</tr>

{/section}

  </form>

</table>

 

<br>

 

<table border=0 cellspacing=0 cellpadding=2 width=75% class=sub>

<tr>

<td width=50% align=left> </td>

<td width=50% align=right>

{pagination pageurl = $thepager->pageurl pageno = $thepager->pageno pagecount = $thepager->pagecount} </td>

</tr>

</table>

 

<br><br>

 

<form action=gameforum.php method=post>

<table width=60% cellspacing=0 cellpadding=2 class=cat>

<tr>

<td colspan=2 class=headerbar align=center>New Topic</td>

</tr>

<tr>

<td width=20% class="sub3">Subject:</td>

<td class="sub3"><input type=text name=subject style='width: 98%;' ></td>

</tr>

<tr>

<td width=20% valign=top class="sub3">Message:</td>

<td class="sub3"><textarea name=message rows=8 style='width: 98%;' ></textarea></td>

</tr>

<tr>

<td colspan=2 align=center class="sub3">

<div align="right">

  <input type=hidden name="frmCode" value="create">

  <input type=submit value="Post!" >

  </div></td>

</tr>

</table>

</form>

</center>  </td>

  </tr>

  </table>

  <!--center end -->

  </center>  </td>

  <td width="120" background="" valign="top">

 

{include file="right.htm"}

 

  </td>

  </tr>

  </table>

</body>

</html>

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.