Login   Register  
PHP Classes
elePHPant
Icontem

File: public_tpl/basic.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Roberto Aleman  >  Auto CMS  >  public_tpl/basic.php  >  Download  
File: public_tpl/basic.php
Role: Example script
Content type: text/plain
Description: Default Template
Class: Auto CMS
Generate a basic content site
Author: By
Last change: update template
Date: 3 years ago
Size: 3,759 bytes
 

Contents

Class file image Download
<?php 
require_once("data/vars.php");
require_once(
"core/autocms.php");
require_once(
"lang/".current_language);
$cms = new autocms();
?>
        <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
        <html xmlns="http://www.w3.org/1999/xhtml">
        <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8;"/>
        <title><?php echo sitetitle;?></title>
        <meta name="keyword" content="AutoCMS,small,lightweight,CMS,minimal,space, easy web site, small businness"/>
        <meta name="description" content="<?php echo sitetitle;?>"/>
        <link href="public_tpl/basic.css" rel="stylesheet" type="text/css"/>
        </head>
        <body>
        <a name="top" id="top"></a>
        <div class="main">
        <div class="header">
<div class="sitename"><a href="<?php echo site_url?>" target="_self"><?php echo site_name?></a></div>
        <div class="sitedescription"><?php echo sitetitle?></div>
       
</div>

       <div class="menubar">
       <a href="<?php echo site_url?>" target="_self"><?php echo index_name_link?></a> | <a href="#about" target="_self"><?php echo about_name_link?></a> | <a href="#ps" target="_self"><?php echo ps_name_link?></a> | <a href="#news" target="_self"><?php echo news_name_link?></a> | <a href="#contact" target="_self"><?php echo contact_name_link?></a>
       </div>

<div class="news">
        <a name="news" id="news"></a><h2><a href="#<?php echo news_name_link?>" ><?php echo news_name_link?></a></h2>
        <?php $this->show_block(news_content); ?>
</div>

<div id="ads" class="ads"><center>
    Ads Block Available, goto <a href="#contact">Contact Form</a> to clain this place
</center></div>

<div class="uptotop"><a href="#top" target="_self"><img src="public_tpl/basic.png" width="16" height="16" alt="up top" border="0" /></a></div>
<div class="about"><a name="about" id="about"></a><h2><a href="#<?php echo about_name_link?>" ><?php echo about_name_link." ".site_name?></a></h2><?php $this->show_block(about_content); ?> </div>

<div class="uptotop"><a href="#top" target="_self"><img src="public_tpl/basic.png" width="16" height="16" alt="up top" border="0" /></a></div>
<div class="pys"><a name="ps" id="ps"></a><h2><a href="#<?php echo ps_name_link?>" ><?php echo ps_name_link;  ?></a></h2><?php 
$this
->show_block(ps_content); ?></div>

<div class="uptotop"><a href="#top" target="_self"><img src="public_tpl/basic.png" width="16" height="16" alt="up top" border="0" /></a></div>
<div class="contact"><a name="contact" id="contact"></a><h2><a href="#<?php echo contact_name_link?>" ><?php echo contact_name_link?></a></h2><form action="index.php" method="post" >
<p><?php echo Your_Email_lang?> :<br/><input id="Msg_input" name="Email" type="text" size="50" maxlength="100" /></p>
<p><?php echo Your_Message_lang?>:<br/><textarea id="Msg" name="Msg" cols="50" rows="4"></textarea></p>
<input name="submit" type="submit"/></form>
</div>
       <div class="menubar">
       <a href="<?php echo site_url?>" target="_self"><?php echo index_name_link?></a> | <a href="#about" target="_self"><?php echo about_name_link?></a> | <a href="#ps" target="_self"><?php echo ps_name_link?></a> | <a href="#news" target="_self"><?php echo news_name_link?></a> | <a href="#contact" target="_self"><?php echo contact_name_link?></a>
       </div>

<div class="footer">
<a href="http://www.ventics.com/autocms/" target="_self">Powered by Auto CMS</a>,<a href="http://validator.w3.org/check?uri=referer">Valid XHTML 1.0</a>,<a href="http://jigsaw.w3.org/css-validator/check/referer">CSS 2.1 Valid</a>,<a href="<?php echo site_url?>admin/index.php?login" target="_self" >*</a>
</div>
</div>
</body>
</html>