Jump to content

web page wont display with php code, only when I delete all php code it shows???


cluce

Recommended Posts

This is driving me bannannas!!!

Can someone tell me why my page shows up blank with the php code at the time but when I remove all my php code the page is displayed fine?

 

<?php 
session_start();

//connect to database
include'db.php';

//gather the topics
$get_topics_sql = "SELECT topic_id, topic_title, DATE_FORMAT(topic_create_time,  '%b %e %Y at %r') aS fmt_topic_create_time, topic_owner FROM forum_topics_awi ORDER BY topic_create_time DESC";
$get_topics_res = @mysqli_query($mysqli, $get_topics_sql) or die(header("Location: error.html"));

if (mysqli_num_rows($get_topics_res) < 1) {

//there are no topics, so say so
$display_block = "<p align=\"center\"><em>No topics exist.</em></p>";
} else {

//create the display string
$display_block = "
<table cellpadding=\"0\" cellspacing=\"0\" border=\"1\" align=\"center\" bordercolor=\"#0033CC\">
<tr>
<th>TOPIC TITLE</th>
</tr>";

while ($topic_info = mysqli_fetch_array($get_topics_res)) {
	$topic_id = $topic_info['topic_id'];
	$topic_title = stripslashes($topic_info['topic_title']);
	$topic_create_time = $topic_info['fmt_topic_create_time'];
	$topic_owner = stripslashes($topic_info['topic_owner']);

	//add to display
	$display_block .= "
	<tr>
	<td><a href=\"display_post_c.php?topic_id=".$topic_id."\"><strong>".$topic_title."</strong></a><br/>
	Created on ".$topic_create_time." by ".$topic_owner."</td>
	</tr>";
}
}
//free results
mysqli_free_result($get_topics_res);

//close connection to MySQL
mysqli_close($mysqli);

//close up the table
$display_block .= "</table>";
?> 

<HTML>
<HEAD>
<TITLE>American Warrior</TITLE>
<script language="JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function P7_autoLayers() { //v1.2 by PVII
var g,b,k,f,args=P7_autoLayers.arguments;
var a = parseInt(args[0]);if(isNaN(a))a=0;
if(!document.p7setc) {p7c=new Array();document.p7setc=true;
  for (var u=0;u<10;u++) {p7c[u] = new Array();}}
for(k=0; k<p7c[a].length; k++) {
  if((g=MM_findObj(p7c[a][k]))!=null) {
   b=(document.layers)?g:g.style;b.visibility="hidden";}}
for(k=1; k<args.length; k++) {
  if((g=MM_findObj(args[k])) != null) {
   b=(document.layers)?g:g.style;b.visibility="visible";f=false;
   for(j=0;j<p7c[a].length;j++) {
    if(args[k]==p7c[a][j]) {f=true;}}
  if(!f) {p7c[a][p7c[a].length++]=args[k];}}}
}
//-->
</script>
<script language="JavaScript">
<!--
function MM_reloadPage(init) {  //Updated by PVII. Reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function P7_ReDoIt() { //v1.21 by PVII
if(document.layers) {MM_reloadPage(false);}
}

function P7_Snap() { //v2.62 by PVII
  var x,y,ox,bx,oy,p,tx,a,b,k,d,da,e,el,args=P7_Snap.arguments;a=parseInt(a);
  for (k=0; k<(args.length-3); k+=4)
   if ((g=MM_findObj(args[k]))!=null) {
    el=eval(MM_findObj(args[k+1]));
    a=parseInt(args[k+2]);b=parseInt(args[k+3]);
    x=0;y=0;ox=0;oy=0;p="";tx=1;da="document.all['"+args[k]+"']";
    if(document.getElementById) {
     d="document.getElementsByName('"+args[k]+"')[0]";
     if(!eval(d)) {d="document.getElementById('"+args[k]+"')";if(!eval(d)) {d=da;}}
    }else if(document.all) {d=da;} 
    if (document.all || document.getElementById) {
     while (tx==1) {p+=".offsetParent";
      if(eval(d+p)) {x+=parseInt(eval(d+p+".offsetLeft"));y+=parseInt(eval(d+p+".offsetTop"));
      }else{tx=0;}}
     ox=parseInt(g.offsetLeft);oy=parseInt(g.offsetTop);var tw=x+ox+y+oy;
     if(tw==0 || (navigator.appVersion.indexOf("MSIE 4")>-1 && navigator.appVersion.indexOf("Mac")>-1)) {
      ox=0;oy=0;if(g.style.left){x=parseInt(g.style.left);y=parseInt(g.style.top);
      }else{var w1=parseInt(el.style.width);bx=(a<0)?-5-w1:-10;
      a=(Math.abs(a)<1000)?0:a;b=(Math.abs(b)<1000)?0:b;
      x=document.body.scrollLeft + event.clientX + bx;
      y=document.body.scrollTop + event.clientY;}}
   }else if (document.layers) {x=g.x;y=g.y;var q0=document.layers,dd="";
    for(var s=0;s<q0.length;s++) {dd='document.'+q0[s].name;
     if(eval(dd+'.document.'+args[k])) {x+=eval(dd+'.left');y+=eval(dd+'.top');break;}}}
   if(el) {e=(document.layers)?el:el.style;
   var xx=parseInt(x+ox+a),yy=parseInt(y+oy+b);
   if(navigator.appName=="Netscape" && parseInt(navigator.appVersion)>4){xx+="px";yy+="px";}
   if(navigator.appVersion.indexOf("MSIE 5")>-1 && navigator.appVersion.indexOf("Mac")>-1){
    xx+=parseInt(document.body.leftMargin);yy+=parseInt(document.body.topMargin);
    xx+="px";yy+="px";}e.left=xx;e.top=yy;}}
}
//-->
</script>
<style type="text/css">
<!--
.style1 {
font-size: 12px;
font-family: Verdana, Arial, Helvetica, sans-serif;
}
.style13 {color: #FF0000}
.style19 {	color: #000000;
font-size: 24px;
}
.style20 {color: #FF0000; font-size: 18px; }
.style22 {color: #000000; font-size: 18px; }
.style23 {color: #000000}
-->
</style>
</HEAD>
<BODY aLink=#6666ff bgColor=#848483 leftMargin=0 link=#cc0000 text=#000000 
topMargin=0 vLink=#660000 marginheight="0" marginwidth="0" onLoad="MM_preloadImages('../images/btn_cummins_b.gif','images/btn_our_people_b.gif','images/btn_our_name_b.gif','images/btn_our_history_b.gif','images/btn_our_philosophy_b.gif','images/btn_our_commitment_b.gif','images/btn_broussard_b.gif','images/btn_columbia_b.gif','images/btn_columbus_b.gif','images/btn_gretna_b.gif','images/btn_engines_b.gif','images/btn_compressors_b.gif','images/btn_waukesha_b.gif','images/btn_caterpillar_b.gif','images/btn_electric_b.gif','images/btn_dresser_rand_b.gif','images/btn_ariel_b.gif','images/btn_knox_western_b.gif','images/btn_gardner_denver_b.gif','images/btn_parts_inventory_b.gif','images/btn_component_repair_b.gif','images/btn_service_technicians_b.gif','images/btn_new_units_b.gif','images/btn_unit_repackaging_b.gif','images/btn_welcome_b.gif','images/btn_branchlocations_b.gif','images/btn_parts_service_b.gif','images/btn_fabrication_b.gif','images/btn_engineering_b.gif','images/btn_leasing_b.gif','images/btn_maintenance_contracts_b.gif','images/btn_contact_us_b.gif','/images/btn_our_people_b.gif','/images/btn_our_name_b.gif','/images/btn_our_history_b.gif','/images/btn_our_philosophy_b.gif','/images/btn_our_commitment_b.gif','/images/btn_broussard_b.gif','/images/btn_columbia_b.gif','/images/btn_columbus_b.gif','/images/btn_gretna_b.gif','/images/btn_engines_b.gif','/images/btn_compressors_b.gif','/images/btn_waukesha_b.gif','/images/btn_caterpillar_b.gif','/images/btn_electric_b.gif','/images/btn_dresser_rand_b.gif','/images/btn_ariel_b.gif','/images/btn_knox_western_b.gif','/images/btn_gardner_denver_b.gif','/images/btn_parts_inventory_b.gif','/images/btn_component_repair_b.gif','/images/btn_service_technicians_b.gif','/images/btn_new_units_b.gif','/images/btn_unit_repackaging_b.gif','/images/btn_welcome_b.gif','/images/btn_branchlocations_b.gif','/images/btn_parts_service_b.gif','/images/btn_fabrication_b.gif','/images/btn_engineering_b.gif','/images/btn_leasing_b.gif','/images/btn_maintenance_contracts_b.gif','/images/btn_contact_us_b.gif')" onResize="P7_ReDoIt();P7_Snap('leftanchor','menucloser',0,0,'leftanchor','Layer1',0,0)"><!-- #BeginLibraryItem "/Library/la.lbi" -->
<script language="JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<body onLoad="MM_preloadImages('../images/btn_cummins_b.gif')">
<div id="menucloser" style="position:absolute; width:200px; height:150px; z-index:1; left: 0; top: 0; visibility: hidden"> 
  <table width="200" border="0" cellspacing="0" cellpadding="0">
    <tr> 
      <td><a href="javascript:;" onMouseOver="P7_autoLayers(0)"><img src="/images/shim.gif" width="200" height="150" border="0"></a></td>
    </tr>
  </table>
</div>
<div id="Layer1" style="position:absolute; left:0px; top:0px; width:152px; z-index:2; visibility: hidden; height: 70px; background-color: #000000; layer-background-color: #000000; border: 1px none #000000"> 
  <table width="152" cellpadding="0" cellspacing="0" bordercolor="#000000" border="0">
    <TR> 
      <TD bgColor=#000000 width=150><IMG height=1 
                  src="/images/null.gif" 
                  width=1></TD>
    </TR>
    <tr> 
      <td nowrap bgcolor="#000000"> 
        <div align="center"><a href="/our_people.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('our_people','','/images/btn_our_people_b.gif',1)"><img name="our_people" border="0" src="/images/btn_our_people.gif" width="150" height="14"></a></div>
      </td>
    </tr>
    <TR> 
      <TD bgColor=#000000 width=150><IMG height=1 
                  src="/images/null.gif" 
                  width=1></TD>
    </TR>
    <tr> 
      <td nowrap bgcolor="#000000"> 
        <div align="center"><a href="/our_name.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('our_name','','/images/btn_our_name_b.gif',1)"><img name="our_name" border="0" src="/images/btn_our_name.gif" width="150" height="14"></a></div>
      </td>
    </tr>
    <TR> 
      <TD bgColor=#000000 width=150><IMG height=1 
                  src="/images/null.gif" 
                  width=1></TD>
    </TR>
    <tr> 
      <td nowrap bgcolor="#000000"> 
        <div align="center"><a href="/our_history.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('our_history','','/images/btn_our_history_b.gif',1)"><img name="our_history" border="0" src="/images/btn_our_history.gif" width="150" height="14"></a></div>
      </td>
    </tr>
    <TR> 
      <TD bgColor=#000000 width=150><IMG height=1 
                  src="/images/null.gif" 
                  width=1></TD>
    </TR>
    <tr> 
      <td nowrap bgcolor="#000000"> 
        <div align="center"><a href="/our_philosophy.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('our_philosophy','','/images/btn_our_philosophy_b.gif',1)"><img name="our_philosophy" border="0" src="/images/btn_our_philosophy.gif" width="150" height="14"></a></div>
      </td>
    </tr>
    <TR> 
      <TD bgColor=#000000 width=150><IMG height=1 
                  src="/images/null.gif" 
                  width=1></TD>
    </TR>
    <tr> 
      <td nowrap bgcolor="#000000"> 
        <div align="center"><a href="/our_commitment.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('our_commitment','','/images/btn_our_commitment_b.gif',1)"><img name="our_commitment" border="0" src="/images/btn_our_commitment.gif" width="150" height="14"></a></div>
      </td>
    </tr>
    <TR> 
      <TD bgColor=#000000 width=150><IMG height=1 
                  src="/images/null.gif" 
                  width=1></TD>
    </TR>
  </table>
</div>
<div id="Layer2" style="position:absolute; left:0px; top:0px; width:153px; z-index:3; height: 57px; background-color: #000000; layer-background-color: #000000; border: 1px none #000000; visibility: hidden;"> 
  <table width="152" height="57" border="0" cellpadding="0" cellspacing="0" bordercolor="#000000">
  <TR> 
      <TD bgColor=#000000 width=150><IMG height=1 
                  src="/images/null.gif" 
                  width=1></TD>
    </TR>
  <tr><td nowrap><div align="center"><a href="/broussard.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('broussard','','/images/btn_broussard_b.gif',1)"><img name="broussard" border="0" src="/images/btn_broussard.gif" width="150" height="14"></a></div></td></tr>
    <TR> 
      <TD bgColor=#000000 width=150><IMG height=1 
                  src="/images/null.gif" 
                  width=1></TD>
    </TR>
    <tr> 
      <td nowrap><div align="center"><a href="/columbia.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('columbia','','/images/btn_columbia_b.gif',1)"><img name="columbia" border="0" src="/images/btn_columbia.gif" width="150" height="14"></a></div></td>
    </tr>
    <TR> 
      <TD bgColor=#000000 width=150><IMG height=1 
                  src="/images/null.gif" 
                  width=1></TD>
    </TR>
    <tr> 
      <td nowrap> <div align="center"><a href="/columbus.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('columbus','','/images/btn_columbus_b.gif',1)"><img name="columbus" border="0" src="/images/btn_columbus.gif" width="150" height="14"></a></div></td>
    </tr>
    <TR> 
      <TD bgColor=#000000 width=150><IMG height=1 
                  src="/images/null.gif" 
                  width=1></TD>
    </TR>
    <tr> 
      <td nowrap> <div align="center"><a href="/gretna.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('gretna','','/images/btn_gretna_b.gif',1)"><img name="gretna" border="0" src="/images/btn_gretna.gif" width="150" height="14"></a></div></td>
    </tr>
    <TR> 
      <TD bgColor=#000000 width=150><IMG height=1 
                  src="/images/null.gif" 
                  width=1></TD>
    </TR>
  </table>
</div>
<div id="Layer3" style="position:absolute; left:0px; top:0px; width:152px; z-index:4; visibility: hidden; background-color: #000000; layer-background-color: #000000; border: 1px none #000000"> 
  <table width="152" cellpadding="0" cellspacing="0" bordercolor="#000000" border="0">
    <TR> 
                <TD bgColor=#000000 width=150><IMG height=1 
                  src="/images/null.gif" 
                  width=1></TD>
    </TR>   <tr> 
      <td>
        <div align="center"><a href="/engines.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('engines','','/images/btn_engines_b.gif',1);P7_Snap('engines','menucloser',150,-10,'engines','Layer4',150,0);P7_autoLayers(0,'menucloser','Layer3','Layer4')"><img name="engines" border="0" src="/images/btn_engines.gif" width="150" height="14"></a></div>
      </td>
    </tr><TR> 
                <TD bgColor=#000000 width=150><IMG height=1 
                  src="/images/null.gif" 
                  width=1></TD>
              </TR>   
    <tr> 
      <td>
        <div align="center"><a href="/compressors.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('compressors','','/images/btn_compressors_b.gif',1);P7_Snap('compressors','menucloser',150,-10,'compressors','Layer4b',150,0);P7_autoLayers(0,'menucloser','Layer3','Layer4b')"><img name="compressors" border="0" src="/images/btn_compressors.gif" width="150" height="14"></a></div>
      </td>
    </tr><TR> 
                <TD bgColor=#000000 width=150><IMG height=1 
                  src="/images/null.gif" 
                  width=1></TD>
              </TR>   
  </table>
</div>
<div id="Layer4" style="position:absolute; left:0px; top:0px; width:152px; z-index:5; visibility: hidden; height: 35px; background-color: #000000; layer-background-color: #000000; border: 1px none #000000"> 
  <table width="152" cellpadding="0" cellspacing="0" bordercolor="#000000" border="0">
    <TR> 
      <TD bgColor=#000000 width=150><IMG height=1 
                  src="/images/null.gif" 
                  width=1></TD>
    </TR>
    <tr> 
      <td> 
        <div align="center"><a href="/waukesha.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('waukesha','','/images/btn_waukesha_b.gif',1)"><img name="waukesha" border="0" src="/images/btn_waukesha.gif" width="150" height="14"></a></div>
      </td>
    </tr>
    <TR> 
      <TD bgColor=#000000 width=150><IMG height=1 
                  src="/images/null.gif" 
                  width=1></TD>
    </TR>
    <tr> 
      <td> 
        <div align="center"><a href="/caterpillar.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('caterpillar','','/images/btn_caterpillar_b.gif',1)"><img name="caterpillar" border="0" src="/images/btn_caterpillar.gif" width="150" height="14"></a></div>
      </td>
    </tr>
    <TR> 
      <TD bgColor=#000000 width=150><IMG height=1 
                  src="/images/null.gif" 
                  width=1></TD>
    </TR>
    <tr> 
      <td> 
        <div align="center"><a href="/electric.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('electric','','/images/btn_electric_b.gif',1)"><img name="electric" border="0" src="/images/btn_electric.gif" width="150" height="14"></a></div>
      </td>
    </tr><TR> 
      <TD bgColor=#000000 width=150><IMG height=1 
                  src="/images/null.gif" 
                  width=1></TD>
    </TR>
    <tr>
      <td><div align="center"><a href="/cummins.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('cummins','','/images/btn_cummins_b.gif',1)"><img name="cummins" border="0" src="/images/btn_cummins.gif" width="150" height="14"></a></div></td>
    </tr>
    <TR> 
      <TD bgColor=#000000 width=150><IMG height=1 
                  src="/images/null.gif" 
                  width=1></TD>
    </TR>
  </table>
</div>
<div id="Layer4b" style="position:absolute; left:0px; top:0px; width:152px; z-index:6; visibility: hidden; height: 50px; background-color: #000000; layer-background-color: #000000; border: 1px none #000000"> 
  <table width="152" cellpadding="0" cellspacing="0" border="0" bordercolor="#000000">
    <TR> 
                <TD bgColor=#000000 width=150><IMG height=1 
                  src="/images/null.gif" 
                  width=1></TD>
    </TR><tr> 
      <td>
        <div align="center"><a href="/dresser_rand.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('dresser_rand','','/images/btn_dresser_rand_b.gif',1)"><img name="dresser_rand" border="0" src="/images/btn_dresser_rand.gif" width="150" height="14"></a></div>
      </td>
    </tr>
<TR> 
                <TD bgColor=#000000 width=150><IMG height=1 
                  src="/images/null.gif" 
                  width=1></TD>
    </TR>
    <tr> 
      <td>
        <div align="center"><a href="/ariel.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('ariel','','/images/btn_ariel_b.gif',1)"><img name="ariel" border="0" src="/images/btn_ariel.gif" width="150" height="14"></a></div>
      </td>
    </tr>
<TR> 
                <TD bgColor=#000000 width=150><IMG height=1 
                  src="/images/null.gif" 
                  width=1></TD>
    </TR>
    <tr> 
      <td>
        <div align="center"><a href="/knox_western.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('knox_western','','/images/btn_knox_western_b.gif',1)"><img name="knox_western" border="0" src="/images/btn_knox_western.gif" width="150" height="14"></a></div>
      </td>
    </tr>
<TR> 
                <TD bgColor=#000000 width=150><IMG height=1 
                  src="/images/null.gif" 
                  width=1></TD>
    </TR>
    <tr>
      <td>
        <div align="center"><a href="/gardner_denver.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('gardner_denver','','/images/btn_gardner_denver_b.gif',1)"><img name="gardner_denver" border="0" src="/images/btn_gardner_denver.gif" width="150" height="14"></a></div>
      </td>
    </tr>
<TR> 
                <TD bgColor=#000000 width=150><IMG height=1 
                  src="/images/null.gif" 
                  width=1></TD>
    </TR>
  </table>
</div>
<div id="Layer5" style="position:absolute; left:0px; top:0px; width:152px; z-index:7; visibility: hidden; background-color: #000000; layer-background-color: #000000; border: 1px none #000000"> 
  <table width="152" cellpadding="0" cellspacing="0" bordercolor="#000000" border="0">
    <TR> 
                <TD bgColor=#000000 width=150><IMG height=1 
                  src="/images/null.gif" 
                  width=1></TD>
    </TR><tr> 
      <td> 
        <p align="center"><a href="/parts_inventory.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('parts_inventory','','/images/btn_parts_inventory_b.gif',1)"><img name="parts_inventory" border="0" src="/images/btn_parts_inventory.gif" width="150" height="14"></a></p>
      </td>
    </tr>
<TR> 
                <TD bgColor=#000000 width=150><IMG height=1 
                  src="/images/null.gif" 
                  width=1></TD>
    </TR>
    <tr> 
      <td>
        <div align="center"><a href="/component_repair.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('component_repair','','/images/btn_component_repair_b.gif',1)"><img name="component_repair" border="0" src="/images/btn_component_repair.gif" width="150" height="14"></a></div>
      </td>
    </tr>
<TR> 
                <TD bgColor=#000000 width=150><IMG height=1 
                  src="/images/null.gif" 
                  width=1></TD>
    </TR>
    <tr> 
      <td>
        <div align="center"><a href="/service_technicians.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('service_technicians','','/images/btn_service_technicians_b.gif',1)"><img name="service_technicians" border="0" src="/images/btn_service_technicians.gif" width="150" height="14"></a></div>
      </td>
    </tr>
<TR> 
                <TD bgColor=#000000 width=150><IMG height=1 
                  src="/images/null.gif" 
                  width=1></TD>
    </TR>
  </table>
</div>
<div id="Layer6" style="position:absolute; left:0px; top:0px; width:152px; z-index:8; visibility: hidden; background-color: #000000; layer-background-color: #000000; border: 1px none #000000"> 
  <table width="152" cellpadding="0" cellspacing="0" bordercolor="#000000" border="0">
    <TR> 
                <TD bgColor=#000000 width=150><IMG height=1 
                  src="/images/null.gif" 
                  width=1></TD>
    </TR><tr> 
      <td> 
        <p align="center"><a href="/new_units.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('new_units','','/images/btn_new_units_b.gif',1)"><img name="new_units" border="0" src="/images/btn_new_units.gif" width="150" height="14"></a></p>
      </td>
    </tr>
<TR> 
                <TD bgColor=#000000 width=150><IMG height=1 
                  src="/images/null.gif" 
                  width=1></TD>
    </TR>
    <tr>
      <td>
        <div align="center"><a href="/unit_repackaging.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('unit_repackaging','','/images/btn_unit_repackaging_b.gif',1)"><img name="unit_repackaging" border="0" src="/images/btn_unit_repackaging.gif" width="150" height="14"></a></div>
      </td>
    </tr>
<TR> 
                <TD bgColor=#000000 width=150><IMG height=1 
                  src="/images/null.gif" 
                  width=1></TD>
    </TR>
  </table>
</div>
<A name=top></A> <!-- #EndLibraryItem --><table border=0 cellpadding=0 cellspacing=0 width="100%">
  <tbody> 
  <tr> 
    <td bgcolor=#000000 width="100%" colspan="3"><img src="spacer1.gif" width="1" height="4"></td>
  </tr>
  <tr> 
    <td bgcolor=#000000 width="100%" colspan="3"><img height=1 
      src="images/null.gif" 
    width=1></td>
  </tr>
  <tr> 
    <td bgcolor=#cc0000 width="100%" colspan="3"><img height=4 
      src="images/null.gif" 
    width=1></td>
  </tr>
  </tbody> 
</table>
<TABLE border=0 cellPadding=0 cellSpacing=0 width="100%">
  
  <TR> 
    <TD bgColor=#000000 width="100%"><IMG height=1 
      src="images/null.gif" 
    width=1></TD>
  </TR>
  <TR> 
    <TD nowrap> 
      <div align="left"><img src="images/corner_fade_leasing_01.jpg" width="336" height="99" name="leftanchor"><img src="images/logo_w_word.jpg" width="400" height="99"><img src="images/spacertop.gif" width="40" height="8"></div>
    </TD>
  </TR>
  <TR> 
    <TD width="100%"> 
      <TABLE border=0 cellPadding=0 cellSpacing=0 width="100%">
        
        <TR vAlign=top> 
          <TD><img src="images/corner_fade_leasing_03.jpg" width="152" height="1"></TD>
          <TD bgColor=#000000 rowSpan=3 width=1><IMG height=1 
            src="images/null.gif" 
            width=1></TD>
          <TD bgColor=#000000 width="90%"><IMG height=1 
            src="images/null.gif" 
            width=1></TD>
          <TD bgColor=#000000 rowSpan=3 width=1><IMG height=1 
            src="images/null.gif" 
            width=1></TD>
          <TD rowSpan=3 width=10><img src="images/spacerside.gif" width="20" height="1"></TD>
        </TR>
        <TR vAlign=top> 
          <TD width=150> 
            <table border=0 cellpadding=0 cellspacing=0 width=150>
              
              <tr> 
                <td><img src="images/corner_fade_leasing_05.jpg" width="152" height="57" border="0"></td>
              </tr></table>
            <!-- #BeginLibraryItem "/Library/nav.lbi" -->
<table border=0 cellpadding=0 cellspacing=0 width=150>
  <tbody> 
  <tr> 
    <td bgcolor=#000000 width=150><a href="javascript:;" onMouseOver="P7_autoLayers(0)"><img height=2 
                  src="/images/null.gif" 
                  width=150 border="0"></a></td>
  </tr>
  <tr> 
    <td bgcolor=#000000 noWrap width=150> 
      <div align="center"><img height=1 
                  src="/images/null.gif" 
                  width=7></div>
    </td>
  </tr>
  <tr> 
    <td bgcolor=#000000 width=150><img height=3 
                  src="/images/null.gif" 
                  width=1></td>
  </tr>
  <tr> 
    <td noWrap width=150><a href="/index.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('welcome','','/images/btn_welcome_b.gif',1);P7_Snap('welcome','menucloser',150,-10,'welcome','Layer1',150,0);P7_autoLayers(0,'menucloser','Layer1')"><img name="welcome" border="0" src="/images/btn_welcome.gif" width="150" height="14"></a></td>
  </tr>
  <tr> 
    <td bgcolor=#000000 width=150><img height=1 
                  src="/images/null.gif" 
                  width=1></td>
  </tr>
  <tr> 
    <td noWrap width=150><a href="/branch_locations.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('branchlocations','','/images/btn_branchlocations_b.gif',1);P7_Snap('branchlocations','menucloser',150,-10,'branchlocations','Layer2',150,0);P7_autoLayers(0,'menucloser','Layer2')"><img name="branchlocations" border="0" src="/images/btn_branchlocations.gif" width="150" height="14"></a></td>
  </tr>
  
  <TR> 
                <TD bgColor=#000000 width=150><IMG height=1 
                  src="/images/null.gif" 
                  width=1></TD>
              </TR>   <tr> 
                <td> 
                  <div align="center"><a href="/engines.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('engines1','','/images/btn_engines_b.gif',1);P7_Snap('engines1','menucloser',150,-10,'engines1','Layer4',150,0);P7_autoLayers(0,'menucloser','Layer4')"><img name="engines1" border="0" src="/images/btn_engines.gif" width="150" height="14"></a></div>
                </td>
              </tr>
              <tr> 
                <td bgcolor=#000000 width=150><img height=1 
                  src="/images/null.gif" 
                  width=1></td>
              </tr>
              <tr> 
                <td> 
                  <div align="center"><a href="/compressors.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('compressors1','','/images/btn_compressors_b.gif',1);P7_Snap('compressors1','menucloser',150,-10,'compressors1','Layer4b',150,0);P7_autoLayers(0,'menucloser','Layer4b')"><img name="compressors1" border="0" src="/images/btn_compressors.gif" width="150" height="14"></a></div>
                </td>
              </tr>
              <tr> 
                <td bgcolor=#000000 width=150><img height=1 
                  src="/images/null.gif" 
                  width=1></td>
              </tr>
  <tr> 
    <td noWrap width=150><a href="/parts_service.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('parts_service','','/images/btn_parts_service_b.gif',1);P7_Snap('parts_service','menucloser',150,-10,'parts_service','Layer5',150,0);P7_autoLayers(0,'menucloser','Layer5')"><img name="parts_service" border="0" src="/images/btn_parts_service.gif" width="150" height="14"></a></td>
  </tr>
  <tr> 
    <td bgcolor=#000000 width=150><img height=1 
                  src="/images/null.gif" 
                  width=1></td>
  </tr>
  <tr> 
    <td noWrap width=150><a href="/fabrication.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('fabrication','','/images/btn_fabrication_b.gif',1);P7_Snap('fabrication','menucloser',150,-10,'fabrication','Layer6',150,0);P7_autoLayers(0,'menucloser','Layer6')"><img name="fabrication" border="0" src="/images/btn_fabrication.gif" width="150" height="14"></a></td>
  </tr>
  <tr> 
    <td bgcolor=#000000 width=150><img height=1 
                  src="/images/null.gif" 
                  width=1></td>
  </tr>
  <tr> 
    <td noWrap width=150><a href="/engineering.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('engineering','','/images/btn_engineering_b.gif',1);P7_autoLayers(0)"><img name="engineering" border="0" src="/images/btn_engineering.gif" width="150" height="14"></a></td>
  </tr>
  <tr> 
    <td bgcolor=#000000 width=150><img height=1 
                  src="/images/null.gif" 
                  width=1></td>
  </tr>
  <tr> 
    <td noWrap width=150><a href="/leasing.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('leasing','','/images/btn_leasing_b.gif',1)"><img name="leasing" border="0" src="/images/btn_leasing.gif" width="150" height="14"></a></td>
  </tr>
  <tr> 
    <td bgcolor=#000000 width=150><img height=1 
                  src="/images/null.gif" 
                  width=1></td>
  </tr>
  <tr> 
    <td noWrap width=150><a href="/maintenance_contracts.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('maintenance_comtracts','','/images/btn_maintenance_contracts_b.gif',1)"><img name="maintenance_comtracts" border="0" src="/images/btn_maintenance_contracts.gif" width="150" height="14"></a></td>
  </tr>
  <tr> 
    <td bgcolor=#000000 width=150><img height=1 
                  src="/images/null.gif" 
                  width=1></td>
  </tr>
<tr> 
    <td noWrap width=150><a href="/contact_us.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('contact_us','','/images/btn_contact_us_b.gif',1)"><img name="contact_us" border="0" src="/images/btn_contact_us.gif" width="150" height="14"></a></td>
  </tr>
  <tr> 
    <td bgcolor=#000000 width=150><img height=1 
                  src="/images/null.gif" 
                  width=1></td>
  </tr>
  </tbody> 
</table>
<!-- #EndLibraryItem --><div id="Layer7" style="position:absolute; left:0px; top:330px; width:282px; height:130px; z-index:9"> 
              <div align="center"><img src="images/awlease5.jpg" width="250" height="165"></div>
            </div>
          </TD>
          <TD bgColor=#ffffff width="90%"> 
            <table border=0 cellpadding=4 cellspacing=0 width="100%">
              <tbody> 
              <tr bgcolor="#CDC6BB"> 
                <td colspan=3 width="100%"><font 
                  color=#ffffff><img src="images/t_leasing.gif" width="418" height="41"></font></td>
              </tr>
              <tr> 
                <td colspan=3 width="100%"><img height=13 
                  src="images/null.gif" 
                  width=1></td>
              </tr>
              </tbody> 
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td width="150"><img height=1 
            src="images/null.gif" 
            width=150></td>
                <td valign="top"><br>                </td>
                <td valign="top"><img height=1 
            src="images/null.gif" 
            width=10></td>
              </tr>
            </table>
            <div align="center"><br>
            </div>
            <p align="center" class="style13"><strong><span class="style19">Company Information </span></strong></p>
            <p align="center" class="style20"> </p>
            <p align="center" class="style13"><span class="style22">Message Board</span> </p>
            <p align="center" class="style23"> <?php echo $display_block; ?><br />
            </p>
            <blockquote>
              <blockquote>
                <blockquote>
                  <blockquote>
                    <blockquote>
                      <blockquote>
                        <p><a href="post_c.php">Post new topic</a></p>
                        <p> </p>
                      </blockquote>
                    </blockquote>
                  </blockquote>
                </blockquote>
              </blockquote>
            </blockquote>
            <p align="center"><strong>Emergency Contacts </strong><br />
              1-866-218-8106 </p>
          <p align="center">available 24/7/365</p></TD>
        </TR>
        <TR vAlign=top> 
          <TD width=150><IMG height=1 
            src="images/null.gif" 
            width=150></TD>
          <TD bgColor=#000000 width="90%"><IMG height=1 
            src="images/null.gif" 
            width=1></TD>
        </TR>
        
      </TABLE>
    </TD>
  </TR>
  <TR> 
    <TD width="100%"><IMG height=10 
      src="images/null.gif" 
    width=1></TD>
  </TR>
  <TR> 
    <TD width="100%"><!-- #BeginLibraryItem "/Library/footer.lbi" -->
<TABLE border=0 cellPadding=0 cellSpacing=0 width="100%">
  <TR> 
    <TD width=300><img height=1 
            src="/images/null.gif" 
            width=300></TD>
    <TD> 
      <div align="center"><SPAN class=footer><SMALL><font size="1"><a href="/index.htm"><font size="2">Welcome</font></a><font size="2"> 
        | <a href="/branch_locations.htm">Branch Locations</a> | <a href="/engines.htm">Engines</a> 
        | <a href="/compressors.htm">Compressors</a> | <a href="/parts_service.htm">Parts 
        & Service</a> | <a href="/fabrication.htm">Fabrication</a><a href="/engineering.htm"><br>
        Engineering</a> | <a href="/leasing.htm">Leasing</a> | <a href="/maintenance_contracts.htm">Maintenance 
        Contracts</a> | <a href="/contact_us.htm">Contact Us</a></font><br>
        </font><font color="#CCCC33"><b>All contents copyright 2001, American 
        Warrior Inc.<br>
        <span><a href="http://www.point2point.org/" target="_blank">website hosted by point2point</a>
        </span></b></font></SMALL></span></div>
    </TD>
    <TD width="20"> </TD>
  </TR>
</TABLE>
<!-- #EndLibraryItem --></TD>
  </TR>
  <TR> 
    <TD width="100%"><IMG height=13 
      src="images/null.gif" 
    width=1></TD>
  </TR>  
</TABLE><br>
</BODY>
</HTML>

Link to comment
Share on other sites

You may have error handling turned off! If there is an error in your script instead of dispalying a error it displays a blank white page! Very fustrating but is more hacker safe!

 

Thats what my web host support said, but I cant see that be the case because it works fine on my local host just not his web server ???

 

I am still waiting on an email from them to tell me what he sees is wrong.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.