5 Replies Latest reply: Oct 30, 2009 6:08 PM by garywpaul RSS

    Pages look weird after reinstall

    Mike_Watt Community Member

      I formatted my drive, installed Win7, then reinstalled my CS3 suite.  I created "new" sites to match the ones that I already had and pointed them to the folders where the files were.

       

      The pages all look weird in DW now.  It only shows a header (a php include) and nothing else.  If I publish the page like this, when it gets to the browser it looks fine.  I've included page code below, and also a screenshot of what I'm seeing in DW.  If anyone can help me get back on track I'd appreciate it.

       

      Mike.

      ------------------------------------------------------------------------------------------ -------------------------------------------------------

      <?php require_once('Connections/imaging101.php'); ?>

      <?php

      if (!function_exists("GetSQLValueString")) {

      function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")

      {

        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;

       

        $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);

       

        switch ($theType) {

          case "text":

            $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";

            break;   

          case "long":

          case "int":

            $theValue = ($theValue != "") ? intval($theValue) : "NULL";

            break;

          case "double":

            $theValue = ($theValue != "") ? "'" . doubleval($theValue) . "'" : "NULL";

            break;

          case "date":

            $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";

            break;

          case "defined":

            $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;

            break;

        }

        return $theValue;

      }

      }

       

      mysql_select_db($database_imaging101, $imaging101);

      $query_rs_accordion = "SELECT * FROM accordion_panel ORDER BY id DESC LIMIT 1";

      $rs_accordion = mysql_query($query_rs_accordion, $imaging101) or die(mysql_error());

      $row_rs_accordion = mysql_fetch_assoc($rs_accordion);

      $totalRows_rs_accordion = mysql_num_rows($rs_accordion);

       

      mysql_select_db($database_imaging101, $imaging101);

      $query_rs_main_text = "SELECT * FROM home_text ORDER BY id DESC LIMIT 1";

      $rs_main_text = mysql_query($query_rs_main_text, $imaging101) or die(mysql_error());

      $row_rs_main_text = mysql_fetch_assoc($rs_main_text);

      $totalRows_rs_main_text = mysql_num_rows($rs_main_text);

      ?>

      <html>

      <head>

       

      <title>Imaging 101</title>

      <script src="spry_assets/SpryAccordion.js" type="text/javascript"></script>

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

      <style type="text/css">

      <!--

      .style1 {

      font-size: 12px;

      font-weight: bold;

      }

      .style3 {font-size: 12; font-weight: bold; }

      -->

      </style>

       

      <script type="text/javascript">

      <!--

      function MM_openBrWindow(theURL,winName,features) { //v2.0

        window.open(theURL,winName,features);

      }

      //-->

      </script>

      </head>

      <body rightmargin="0" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">

       

      <center>

      <br />

      <table width="764" cellpadding="0" cellspacing="0" border="0">

      <tr>

      <td colspan="5">

      <?php include('includes/head1.php'); ?>

      </td>

      </tr>

      <tr>

      <td style="background-image: url('images/a42.jpg'); background-repeat: repeat-y;" valign="top" height="100%">

      <table cellpadding="0" cellspacing="0" border="0" height="100%">

      <tr>

      <td height="100%" valign="top"><img src="images/a12.jpg" /></td>

      </tr>

      <tr>

      <td><img src="images/a50.jpg" /></td>

      </tr>

      </table>

      </td>

      <td valign="top" style="background-image: url('images/a90.jpg'); background-repeat: repeat-y;" height="100%">

              <table cellpadding="0" cellspacing="0" border="0" height="100%">

      <!-- BEGIN LOGIN BOX ------------------------------->

              <?php include('includes/logbox.php') ; ?>

              <!-- END LOGIN BOX -------------------------------------->

      <tr>

      <td><img src="images/a48.jpg" /></td>

      </tr>

      <tr>

      <td><img src="images/a49.jpg" /></td>

      </tr>

      <tr>

      <td>

                  <table cellpadding="0" cellspacing="0" border="0">

      <tr>

      <td style="background-image: url('images/a55.jpg'); background-repeat: repeat-y;"><img src="images/a55.jpg" /></td>

      <td>

      <!-- BEGIN LEFT PANE ----------------------------------------------------->

      <?php include('includes/left_pane.php') ; ?>

             <!-- END LEFT PANE --------------------------------------------------------------------------------------->

      </td>

                  <td style="background-image: url('images/a58.jpg'); background-repeat: repeat-y;"><img src="images/a58.jpg" /></td>

      </tr>

              </table>

      </td>

      </tr>

      <tr>

      <td><img src="images/a88.jpg" /></td>

      </tr>

      <tr>

      <td height="100%" valign="top">

      <!-- BEGIN LEFT PANE LOW ---------------------------------------------------------->

      <?php include('includes/left_pane_low.php') ; ?>

          <!-- END LEFT PANE LOW ------------------------------------------------------------->

      </td>

      </tr>

      <tr>

      <td><img src="images/a999.jpg" /></td>

      </tr>

               </t

      ></table>

      </td>

      <td valign="top" style="background-image: url('images/a43.jpg'); background-repeat: repeat-y;" height="100%">

      <table cellpadding="0" cellspacing="0" border="0" height="100%">

      <tr>

      <td><img src="images/a14.jpg" /></td>

      </tr>

      <tr>

      <td><img src="images/a26.jpg" /></td>

      </tr>

      <tr>

      <td height="100%" valign="bottom"><img src="images/a97.jpg" /></td>

      </tr>

      </table>

      </td>

      <td valign="top" height="100%" style="background-image: url('images/a61.jpg');">

      <table cellpadding="0" cellspacing="0" border="0" height="100%">

      <tr>

      <td>

      <?php include('includes/nav_horizontal.php') ;?>

      </td>

      </tr>

      <tr>

      <td><img src="images/a27.jpg" /></td>

      </tr>

      <tr>

      <td height="100%">

      <table cellpadding="0" cellspacing="0" border="0" height="100%">

          <tr>

      <td style="background-image: url('images/a59.jpg'); background-repeat: repeat-y;" valign="top"><img src="images/a31.jpg" /></td>

      <td height="100%" valign="top">

      <!-- CONTENT AREA START -->

       

      <table cellpadding="0" cellspacing="0" border="0">

      <tr>

      <td style="background-image: url('images/inbg.jpg'); background-repeat: no-repeat;">

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

      <tr>

      <td width="103px" align="center" valign="top" style="background-image: url('images/a32.jpg'); background-repeat:no-repeat; "><img src="images/a32_top.jpg" width="103" height="5"><br /><img src="images/upload/top_pic.jpg" width="93px" height="82px"></td>

      <td><img src="images/a221.jpg" /></td>

      <td valign="top" class="inarea">

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

      <tr>

      <td valign="top" style="background-image: url('images/a34.jpg'); background-repeat:no-repeat;"></td>

      </tr>

      <tr>

      <td style="background-image: url('images/a222.jpg'); background-repeat: no-repeat;"> <?php echo $row_rs_main_text['main_top']; ?><a href="<?php echo $row_rs_main_text['more_url']; ?>" class="heavy">  <?php echo $row_rs_main_text['more_txt']; ?></a> </td>

      </tr>

      </table>

      </td>

      </tr>

      </table>

      </td>

      </tr>

      <tr>

      <td>

      <table cellpadding="0" cellspacing="0" border="0" width="100%" style="background-image: url('images/a52.jpg'); background-repeat: repeat-x;">

      <tr>

      <td><img src="images/a51.jpg" /></td>

      <td width="100%" align="right"><img src="images/a54.jpg" /></td>

      </tr>

      <tr>

      <td colspan="2"><img src="images/spacer.gif" width="1" height="18" /></td>

      </tr>

      </table>

      </td>

      </tr>

      <tr>

      <td>

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

      <tr>

      <td><img src="images/spacer.gif" width="10" height="1" /></td>

      <td width="100%" valign="top" class="inarea"><div id="Accordion1" class="Accordion" tabindex="0">

        <div class="AccordionPanel">

                                      <div class="AccordionPanelTab">            <span class="style3"><?php echo $row_rs_accordion['head'] ;?></span></div>

          <div class="AccordionPanelContent"><a href="<?php echo $row_rs_accordion['link'] ;?>"><img src="<?php echo $row_rs_accordion['image'] ;?>" /></a></div>

          </div>

        <div class="AccordionPanel">

                                      <div class="AccordionPanelTab">            <span class="style3"><?php echo $row_rs_accordion['head2'] ;?></span></div>

          <div class="AccordionPanelContent"><a href="<?php echo $row_rs_accordion['link2'] ;?>"><img src="<?php echo $row_rs_accordion['image2'] ;?>" /></a></div>

          </div>

        <div class="AccordionPanel">

                                      <div class="AccordionPanelTab">            <span class="style3"><?php echo $row_rs_accordion['head3'] ;?></span></div>

          <div class="AccordionPanelContent"><a href="<?php echo $row_rs_accordion['link3'] ;?>"><img src="<?php echo $row_rs_accordion['image3'] ;?>" /></a></div>

          </div>

      </div>

        <br /></td>

      <td><img src="images/spacer.gif" width="15" height="1" /></td>

      <td>

      <table width="180" border="0" cellpadding="0" cellspacing="0">

      <tr>

      <td style="background-image: url('images/a65.jpg'); background-repeat:no-repeat; height:37px">

       

      <!-- START WIMPY BUTTON: Standard HTML -->

      <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" name="wimpybutton186" width="37" height="37" id="wimpybutton186">

      <param name="movie" value="/player_assets/wimpy_button.swf" />

      <param name="loop" value="false" />

      <param name="menu" value="false" />

      <param name="quality" value="high" />

      <param name="bgcolor" value="#FFFFFF" />

      <param name="wmode" value="transparent" />

      <param name="flashvars" value="theFile=audio/samples/sample_1.mp3&playingColor=000000&arrowColor=FFFFFF&grinderCo lor=00C3FF&theBkgdColor=0048FF&rollOverColor=FF0000&buttonStyle=square&displayRewindButton =no&wimpyReg=NUhBcHNSNFFRJTdGeVhhQzVMJTdEcWxoJTJCJTNEY2QxLWhsJTJBayUyOSU3QmElMkI3YU9t&myid =wimpybutton186" />

      <embed src="/player_assets/wimpy_button.swf" flashvars="theFile=audio/samples/sample_1.mp3&playingColor=000000&arrowColor=FFFFFF&grind erColor=00C3FF&theBkgdColor=0048FF&rollOverColor=FF0000&buttonStyle=square&displayRewindBu tton=no&wimpyReg=NUhBcHNSNFFRJTdGeVhhQzVMJTdEcWxoJTJCJTNEY2QxLWhsJTJBayUyOSU3QmElMkI3YU9t& myid=wimpybutton186" width="37" height="37" bgcolor="#FFFFFF" loop="false" menu="false" quality="high" name="wimpybutton186" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" wmode="transparent" /></object>

      <!-- END WIMPY BUTTON: Standard HTML -->

       

       

       

      </td>

      </tr>

      <tr>

      <td>

      <img src="images/spacer.gif" width="180" height="10" /></td>

      </tr>

      <tr>

      <td style="background-image: url('images/a65.jpg'); background-repeat:no-repeat; height:37px">

                                          <!-- START WIMPY BUTTON: Standard HTML -->

      <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="37" height="37" id="wimpybutton189">

      <param name="movie" value="/player_assets/wimpy_button.swf" />

      <param name="loop" value="false" />

      <param name="menu" value="false" />

      <param name="quality" value="high" />

      <param name="bgcolor" value="#FFFFFF" />

      <param name="wmode" value="transparent" />

      <param name="flashvars" value="theFile=http%3A%2F%2Fwww%2Ewattproductions%2Ecom%2Fsites%2Fimaging101%2Faudio%2Fsa mples%2Fsample%5F2%2Emp3&playingColor=000000&arrowColor=FFFFFF&grinderColor=00C3FF&theBkgd Color=0048FF&rollOverColor=FF0000&buttonStyle=square&displayRewindButton=no&wimpyReg=NUhBc HNSNFFRJTdGeVhhQzVMJTdEcWxoJTJCJTNEY2QxLWhsJTJBayUyOSU3QmElMkI3YU9t&myid=wimpybutton189" />

      <embed src="/player_assets/wimpy_button.swf" flashvars="theFile=http%3A%2F%2Fwww%2Ewattproductions%2Ecom%2Fsites%2Fimaging101%2Faudio% 2Fsamples%2Fsample%5F2%2Emp3&playingColor=000000&arrowColor=FFFFFF&grinderColor=00C3FF&the BkgdColor=0048FF&rollOverColor=FF0000&buttonStyle=square&displayRewindButton=no&wimpyReg=N UhBcHNSNFFRJTdGeVhhQzVMJTdEcWxoJTJCJTNEY2QxLWhsJTJBayUyOSU3QmElMkI3YU9t&myid=wimpybutton18 9" width="37" height="37" bgcolor="#FFFFFF" loop="false" menu="false" quality="high" name="wimpybutton189" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" wmode="transparent" /></object>

      <!-- END WIMPY BUTTON: Standard HTML -->

       

                                          </td>

      </tr>

      <tr>

      <td>

      <img src="images/spacer.gif" width="180" height="10" /></td>

      </tr>

      <tr>

      <td style="background-image: url('images/a65.jpg'); background-repeat:no-repeat; height:37px">

                                          <!-- START WIMPY BUTTON: Standard HTML -->

      <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="37" height="37" id="wimpybutton190">

      <param name="movie" value="/player_assets/wimpy_button.swf" />

      <param name="loop" value="false" />

      <param name="menu" value="false" />

      <param name="quality" value="high" />

      <param name="bgcolor" value="#FFFFFF" />

      <param name="wmode" value="transparent" />

      <param name="flashvars" value="theFile=http%3A%2F%2Fwww%2Ewattproductions%2Ecom%2Fsites%2Fimaging101%2Faudio%2Fsa mples%2Fsample%5F3%2Emp3&playingColor=000000&arrowColor=FFFFFF&grinderColor=00C3FF&theBkgd Color=0048FF&rollOverColor=FF0000&buttonStyle=square&displayRewindButton=no&wimpyReg=NUhBc HNSNFFRJTdGeVhhQzVMJTdEcWxoJTJCJTNEY2QxLWhsJTJBayUyOSU3QmElMkI3YU9t&myid=wimpybutton190" />

      <embed src="/player_assets/wimpy_button.swf" flashvars="theFile=http%3A%2F%2Fwww%2Ewattproductions%2Ecom%2Fsites%2Fimaging101%2Faudio% 2Fsamples%2Fsample%5F3%2Emp3&playingColor=000000&arrowColor=FFFFFF&grinderColor=00C3FF&the BkgdColor=0048FF&rollOverColor=FF0000&buttonStyle=square&displayRewindButton=no&wimpyReg=N UhBcHNSNFFRJTdGeVhhQzVMJTdEcWxoJTJCJTNEY2QxLWhsJTJBayUyOSU3QmElMkI3YU9t&myid=wimpybutton19 0" width="37" height="37" bgcolor="#FFFFFF" loop="false" menu="false" quality="high" name="wimpybutton190" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" wmode="transparent" /></object>

      <!-- END WIMPY BUTTON: Standard HTML -->

       

                                          </td>

      </tr>

      <tr>

      <td>

      <img src="images/spacer.gif" width="180" height="10" /></td>

      </tr>

      <tr>

      <td style="background-image: url('images/a65.jpg'); background-repeat:no-repeat; height:37px">

      <!-- START WIMPY BUTTON: Standard HTML -->

      <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="37" height="37" id="wimpybutton192">

      <param name="movie" value="/player_assets/wimpy_button.swf" />

      <param name="loop" value="false" />

      <param name="menu" value="false" />

      <param name="quality" value="high" />

      <param name="bgcolor" value="#FFFFFF" />

      <param name="wmode" value="transparent" />

      <param name="flashvars" value="theFile=http%3A%2F%2Fwww%2Ewattproductions%2Ecom%2Fsites%2Fimaging101%2Faudio%2Fsa mples%2Fsample%5F4%2Emp3&playingColor=000000&arrowColor=FFFFFF&grinderColor=00C3FF&theBkgd Color=0048FF&rollOverColor=FF0000&buttonStyle=square&wimpyReg=NUhBcHNSNFFRJTdGeVhhQzVMJTdE cWxoJTJCJTNEY2QxLWhsJTJBayUyOSU3QmElMkI3YU9t&myid=wimpybutton192" />

      <embed src="/player_assets/wimpy_button.swf" flashvars="theFile=http%3A%2F%2Fwww%2Ewattproductions%2Ecom%2Fsites%2Fimaging101%2Faudio% 2Fsamples%2Fsample%5F4%2Emp3&playingColor=000000&arrowColor=FFFFFF&grinderColor=00C3FF&the BkgdColor=0048FF&rollOverColor=FF0000&buttonStyle=square&wimpyReg=NUhBcHNSNFFRJTdGeVhhQzVM JTdEcWxoJTJCJTNEY2QxLWhsJTJBayUyOSU3QmElMkI3YU9t&myid=wimpybutton192" width="37" height="37" bgcolor="#FFFFFF" loop="false" menu="false" quality="high" name="wimpybutton192" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" wmode="transparent" /></object>

      <!-- END WIMPY BUTTON: Standard HTML -->

       

       

                                          </td>

      </tr>

      </table>

      </td>

      </tr>

      </table>

      </td>

      </tr>

      <tr>

      <td><img src="images/spacer.gif" height="25" width="1" /></td>

      </tr>

      <tr>

      <td>

      <table cellpadding="0" cellspacing="0" border="0" width="100%" style="background-image: url('images/a52.jpg'); background-repeat: repeat-x;">

      <tr>

      <td><img src="images/a86.jpg" /></td>

      <td width="100%" align="right"><img src="images/a54.jpg" /></td>

      </tr>

      <tr>

      <td colspan="2"><img src="images/spacer.gif" width="1" height="16" /></td>

      </tr>

      </table>

      </td>

      </tr>

      <tr>

      <td>

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

      <tr>

      <td><img src="images/spacer.gif" width="10" height="1" /></td>

      <td width="100%"><p><?php echo $row_rs_main_text['main_bottom']; ?><a href="<?php echo $row_rs_main_text['bottom_more_url']; ?>" class="heavy">  <?php echo $row_rs_main_text['bottom_more_txt']; ?></a></p></td>

      <td><img src="images/spacer.gif" width="10" height="1" /></td>

      </tr>

      </table>

      </td>

      </tr>

      </table>

       

      <!-- CONTENT AREA END -->

      </td>

      <td style="background-image: url('images/a99.jpg'); background-repeat: repeat-y;" valign="top"><img src="images/a36.jpg" /></td>

      </tr>

      </table>

      </td>

      </tr>

      <tr>

      <td><img src="images/a96.jpg" /></td>

      </tr>

      </table>

      </td>

      <td style="background-image: url('images/a44.jpg'); background-repeat: repeat-y;" valign="top" height="100%">

      <table cellpadding="0" cellspacing="0" border="0" height="100%">

      <tr>

      <td><img src="images/a20.jpg" /></td>

      </tr>

      <tr>

      <td><img src="images/a28.jpg" /></td>

      </tr>

      <tr>

      <td height="100%" valign="bottom"><img src="images/a98.jpg" /></td>

      </tr>

      </table>

      </td>

      </tr>

      <tr>

      <td colspan="5"><img src="images/a100.jpg" /></td>

      </tr>

      <tr>

      <td colspan="5">

      <?php include('includes/foot.php') ;?>

      </td>

      </tr>

      <tr>

      <td colspan="5" style="background-image: url('images/a105.jpg'); background-repeat: repeat-x;"><img src="images/a105.jpg" /></td>

      </tr>

      </table>

      </center>

       

      <script type="text/javascript">

      <!--

      var Accordion1 = new Spry.Widget.Accordion("Accordion1");

      //-->

      </script>

      </body>

      </html>

      <?php

      mysql_free_result($rs_accordion);

       

      mysql_free_result($rs_main_text);

      ?>