Thread: html to php
View Single Post
  #6  
Old 07-05-2007, 05:06 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

HTML Code:
<?php
$curdir = getcwd();
chdir('/home/jaycob/public_html');
require_once('./global.php');

chdir($curdir);
?>
<!-- Provided by MyFreeTemplates.com -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>MyFreeTemplates.com</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="keywords" content="Keywords here">
<meta name="description" content="Description here">
<meta name="Author" content="MyFreeTemplates.com">
<META NAME="robots" CONTENT="index, follow">
<!-- (Robot commands: All, None, Index, No Index, Follow, No Follow) -->
<META NAME="revisit-after" CONTENT="30 days">
<META NAME="distribution" CONTENT="global">
<META NAME="rating" CONTENT="general">
<META NAME="Content-Language" CONTENT="english">
<script language="JavaScript" type="text/JavaScript" src="images/myfreetemplates.js"></script>
<link href="images/myfreetemplates.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
-->
</style>
</head>

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="MM_preloadImages('images/btn_home_dn.gif','images/btn_products_dn.gif','images/btn_services_dn.gif','images/btn_moreinfo_dn.gif','images/btn_contact_dn.gif')">
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
  <tr> 
    <td height="61" background="images/topbg.gif"><img src="images/toplogo.gif" width="186" height="61"></td>
    <td height="61" align="right" background="images/topbg.gif"><img src="images/toppic.gif" width="278" height="61"></td>
  </tr>
  <tr> 
    <td width="186" valign="top" background="images/bg1.gif"><img src="images/bg1.gif" width="186" height="10"> 
      <table width="100%" border="0" cellpadding="0" cellspacing="0" background="images/sidenavbg.gif">
        <tr> 
          <td><a href="javascript:;" onMouseOver="MM_swapImage('btn_home','','images/btn_home_dn.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="images/btn_home.gif" name="btn_home" width="183" height="26" border="0" id="btn_home"></a><br> 
            <img src="images/pixi_clear.gif" width="1" height="3"></td>
        </tr>
        <tr> 
          <td><a href="javascript:;" onMouseOver="MM_swapImage('btn_products','','images/btn_products_dn.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="images/btn_products.gif" name="btn_products" width="183" height="26" border="0" id="btn_products"></a><br> 
            <img src="images/pixi_clear.gif" width="1" height="3"></td>
        </tr>
        <tr> 
          <td><a href="javascript:;" onMouseOver="MM_swapImage('btn_services','','images/btn_services_dn.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="images/btn_services.gif" name="btn_services" width="183" height="26" border="0" id="btn_services"></a><br> 
            <img src="images/pixi_clear.gif" width="1" height="3"></td>
        </tr>
        <tr> 
          <td><a href="javascript:;" onMouseOver="MM_swapImage('btn_moreinfo','','images/btn_moreinfo_dn.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="images/btn_moreinfo.gif" name="btn_moreinfo" width="183" height="26" border="0" id="btn_moreinfo"></a><br> 
            <img src="images/pixi_clear.gif" width="1" height="3"></td>
        </tr>
        <tr> 
          <td><a href="javascript:;" onMouseOver="MM_swapImage('btn_contact','','images/btn_contact_dn.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="images/btn_contact.gif" name="btn_contact" width="183" height="26" border="0" id="btn_contact"></a></td>
        </tr>
      </table> <br> <br> <table width="183" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td colspan="2"><img src="images/hdr_news.gif" width="183" height="26"></td>
        </tr>
        <tr> 
          <td width="24" background="images/newsbg.gif"><p>&nbsp;</p>
            <p>&nbsp;</p></td>
          <td width="159" valign="top" background="images/newsbg.gif"><span class="sidelinks"><br>
            <strong> News Headline Here<br>
            </strong>News Story here, News<br>
            Story here, News Story<br></span>
            <br>
            <a href="#" class="sidelinks">&gt;&gt; More info</a><br>
            <br> </td>
        </tr>
        <tr> 
          <td height="1" colspan="2" background="images/bg4.gif"><img src="images/bg4.gif" width="1" height="1"></td>
        </tr>
      </table>
      <br> </td>
    <td valign="top" background="images/bg3.gif">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td width="75" rowspan="4">&nbsp;</td>
          <td width="56%">&nbsp;</td>
          <td width="85" rowspan="4">&nbsp;</td>
        </tr>
        <tr> 
          <td align="right"> <h1>Page Header</h1></td>
        </tr>
        <tr> 
          <td align="left"><h2>Sub-header</h2>
            <p>Page content goes here; To use this template you simply have to 
              build the html for it from the graphic. First export all your buttons, 
              backgrounds and other images. You must decide whether certain elements 
              will be images or html generated.</p>
            <p> First build one template page and make sure it is exactly right 
              before you build the rest of the site.</p>
            <p>&nbsp;</p></td>
        </tr>
        <tr> 
          <td align="left"><table width="100%" border="0" cellspacing="0" cellpadding="5">
              <tr align="center"> 
                <td width="25%"><img src="images/mainpagepic.gif" width="85" height="84"></td>
                <td width="25%"><img src="images/mainpagepic.gif" width="85" height="84"></td>
                <td width="25%"><img src="images/mainpagepic.gif" width="85" height="84"></td>
                <td width="25%"><img src="images/mainpagepic.gif" width="85" height="84"></td>
              </tr>
              <tr valign="top"> 
                <td width="25%"><span class="smallfont"><strong><font color="#CCCCCC">Product 
                  Name</font></strong><br>
                  Product Description &amp; Features here.<br>
                  <a href="#" class="smallfont"><strong>&gt;&gt; More</strong></a></span><br> 
                </td>
                <td width="25%"><span class="smallfont"><strong><font color="#CCCCCC">Product 
                  Name</font></strong><br>
                  Product Description &amp; Features here.<br>
                  <a href="#" class="smallfont"><strong>&gt;&gt; More</strong></a></span><br> 
                </td>
                <td width="25%"><span class="smallfont"><strong><font color="#CCCCCC">Product 
                  Name</font></strong><br>
                  Product Description &amp; Features here.<br>
                  <a href="#" class="smallfont"><strong>&gt;&gt; More</strong></a></span><br> 
                </td>
                <td width="25%"><span class="smallfont"><strong><font color="#CCCCCC">Product 
                  Name</font></strong><br>
                  Product Description &amp; Features here.<br>
                  <a href="#" class="smallfont"><strong>&gt;&gt; More</strong></a></span><br> 
                </td>
              </tr>
            </table></td>
        </tr>
      </table>
    </td>
  </tr>
  <tr valign="middle"> 
    <td height="36" colspan="2" background="images/basebg.gif">
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td><font size="1">&nbsp;&nbsp;&nbsp;&copy; Copyright
          2004. Yourcompany.com</font></td>
        <td align="right"> <a href="http://www.interspire.com/templates" target="_blank"><font size="1" face="Arial, Helvetica, sans-serif"  color="#FFFFFF">Design by Interspire</font></a>&nbsp;&nbsp; </td>
      </tr>
    </table>
    </td>
  </tr>
</table>
</body>
</html>
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01152 seconds
  • Memory Usage 1,863KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_html
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete