예제 #1
0
/* Make sure this require() points to config.php. */
require('./inc/config.php');

$title="Authorized Supplier of Kirby Building Systems";

include(ROOT.'/inc/header.php');
?>

<div class="sub-content">

<div class="sub-sidebar">

<h2><?php 
echo BasicCms::title('kirby');
?>
</h2>

<?php 
echo BasicCms::block('kirby');
?>

</div>

<div class="banners">
</div>

</div>

<?
include(ROOT.'/inc/footer.php');
?>
예제 #2
0
<?
require('../../inc/admin/config.php');
$session->auth_or_redirect('su', '/admin');

$admin_title = 'Manage Blocks';

include(ROOT.'/inc/admin/header.php');
?>

<p><a href="/admin">Back to Admin Home</a></p>
<p><a href="./categories">Manage Categories</a></p>

<p><a href="new.php"><img src="/images/admin/button_add.jpg" alt="Add New Block" id="button_add" /></a></p>

  <table>
  <?php 
BasicCms::display_category_pages(0, 'No Category');
?>
	<?php 
include './_categories.php';
?>
  </table>


<?
include(ROOT.'/inc/admin/footer.php');
?>
예제 #3
0
/* Make sure this require() points to config.php. */
require('./inc/config.php');

$title="Employment";

include(ROOT.'/inc/header.php');
?>

<div class="sub-content">

<div class="sub-sidebar">

<h2><?php 
echo BasicCms::title('employment');
?>
</h2>

<?php 
echo BasicCms::block('employment');
?>

</div>

<div class="banners">
</div>

</div>

<?
include(ROOT.'/inc/footer.php');
?>
예제 #4
0
$title="Get a Quote";

include(ROOT.'/inc/header.php');
?>

<div class="sub-content">

<div class="sub-sidebar">

<h2><?php 
echo BasicCms::title('quote');
?>
</h2>

<?php 
echo BasicCms::block('quote');
?>

</div>

<div class="banners">
  <div id="quote" style="margin-bottom: 100px">
    <?php 
$form = new FormBuilder(array('model' => 'quote', 'action' => './inc/functions.php?f=quote', 'method' => 'post'));
?>
      <?php 
echo $form->input(array('name' => 'name', 'label' => '* Name', 'classes' => array('required')));
?>
      <?php 
echo $form->input(array('name' => 'company', 'label' => '* Company', 'classes' => array('required')));
?>
예제 #5
0
$title="Contact Us";

include(ROOT.'/inc/header.php');
?>

<div class="sub-content">
<div class="sub-sidebar" style="height: 550px;">

<h2><?php 
echo BasicCms::title('contact');
?>
</h2>

<?php 
echo BasicCms::block('contact');
?>

</div>

<div class="banners">
<div class="contact">

<?php 
$form = new FormBuilder(array('model' => 'contact', 'action' => './inc/functions.php?f=contact', 'method' => 'post'));
?>
  <?php 
echo $form->input(array('name' => 'name', 'label' => '* Name', 'classes' => array('required'), 'options' => 'style="width: 200px"'));
?>
  <?php 
echo $form->input(array('name' => 'email', 'label' => '* Email Address', 'classes' => array('required'), 'options' => 'style="width: 250px"'));
예제 #6
0
/* Make sure this require() points to config.php. */
require('./inc/config.php');

$title="Healthcare";

include(ROOT.'/inc/header.php');
?>

<div class="sub-content">

<div class="sub-sidebar">
  
<h2><?php 
echo BasicCms::title('healthcare');
?>
</h2>

<?php 
echo BasicCms::block('healthcare');
?>

</div>

<div class="banners">
</div>

</div>

<?
include(ROOT.'/inc/footer.php');
?>
예제 #7
0
<?
$parents = BasicCms::parent_categories();
if (!empty($parents)) {
	foreach ($parents as $category_id => $category_name)
	  {
	  	BasicCms::display_category_pages($category_id, $category_name);
	  }
}
?>
예제 #8
0
파일: edit.php 프로젝트: nepageeks/champion
" id="title">
  	<p><?php 
echo stripslashes($p['description']);
?>
</p>
	
    <input type="hidden" name="id" value="<?php 
echo $id;
?>
" id="id">
    <p>
      <textarea name="body"><?php 
echo stripslashes($p['body']);
?>
</textarea>
    </p>
    <p>
      <input type="image" name="submitBtn" value="Save" src="/images/admin/button_save.jpg" id="save_button">
    </p>
  </form>

<?php 
echo BasicCms::setup_markitup('markdown', 'simple', false);
?>
<script type="text/javascript" charset="utf-8">
  $('textarea').markItUp(mySettings);
</script>

<?
include(ROOT.'/inc/admin/footer.php');
?>
예제 #9
0
	<div style="position: relative;" class="slideshow">
    <a href="projects.php" title="View our Projects"><img src="images/banners/banner1.jpg" alt="" /></a>
    <a href="projects.php" title="View our Projects"><img src="images/banners/banner2.jpg" alt="" /></a>
    <a href="projects.php" title="View our Projects"><img src="images/banners/banner4.jpg" alt="" /></a>
	</div>


</div>
<div class="sidebar">
<div class="overlap">

<div class="readmoreimg"><a href="about.php"><img src="images/readmore.png" alt="Read More..." title="Read More &rarr;" /></a></div>

<?php 
echo String::truncate(BasicCms::block('about'), 500, '');
?>

<!--<div class="readmore"><a href="">Read More</a> &rarr;</div>-->

</div>
</div>
<div class="banners" style="border-right: 1px solid #b5b5b5;">

<a href="about.php"><img src="images/banners/aboutus.jpg" title="About Champion Builders, Inc." alt="" /></a>
<a href="services.php"><img src="images/banners/services.jpg" title="View our List of Services" alt="" /></a>
<a href="projects.php"><img src="images/banners/projects.jpg" title="View our Projects" alt="" /></a>
<a href="quote.php"><img src="images/banners/quote.jpg" title="Get a Quote" alt="" /></a>
<a href="kirby.php"><img src="images/banners/kirby.jpg" title="Kirby Building Systems Authorized Supplier" alt="" /></a>
<a href="employment.php"><img src="images/banners/employment.jpg" title="Want to work with Champion?" alt="" /></a>
예제 #10
0
<?php

require $_SERVER['DOCUMENT_ROOT'] . '/inc/config.php';
include_once "inc.markdown.php";
parse_str(parse_url($_SERVER['HTTP_REFERER'], PHP_URL_QUERY));
$block = new CmsBlock();
$block = $block->find($id);
$path = empty($block->location) ? '/content.php' : $block->location;
$block_name = empty($block->location) ? '$_GET[\'page\']' : "'" . $block->name . "'";
$parsed_text = Markdown($_POST['data']);
eval(BasicCms::parse_page($path, $block_name, $parsed_text));
예제 #11
0
<?
/* Make sure this require() points to config.php. */
require('./inc/config.php');

include(ROOT.'/inc/header.php');
?>

<?php 
echo BasicCms::block($_GET['page']);
?>

<?
include(ROOT.'/inc/footer.php');
?>
예제 #12
0
/* Make sure this require() points to config.php. */
require('./inc/config.php');

$title="Services";

include(ROOT.'/inc/header.php');
?>

<div class="sub-content">

<div class="sub-sidebar">

<h2><?php 
echo BasicCms::title('services');
?>
</h2>

<?php 
echo BasicCms::block('services');
?>

</div>

<div class="banners">
</div>

</div>

<?
include(ROOT.'/inc/footer.php');
?>
예제 #13
0
/* Make sure this require() points to config.php. */
require('./inc/config.php');

$title="Industrial";

include(ROOT.'/inc/header.php');
?>

<div class="sub-content">

<div class="sub-sidebar">

<h2><?php 
echo BasicCms::title('industrial');
?>
</h2>

<?php 
echo BasicCms::block('industrial');
?>

</div>

<div class="banners">
</div>

</div>

<?
include(ROOT.'/inc/footer.php');
?>
예제 #14
0
/* Make sure this require() points to config.php. */
require('./inc/config.php');

$title="Pre-Engineered";

include(ROOT.'/inc/header.php');
?>

<div class="sub-content">

<div class="sub-sidebar">

<h2><?php 
echo BasicCms::title('pre_engineered');
?>
</h2>

<?php 
echo BasicCms::block('pre_engineered');
?>

</div>

<div class="banners">
</div>

</div>

<?
include(ROOT.'/inc/footer.php');
?>
예제 #15
0
$title="About Us";

include(ROOT.'/inc/header.php');
?>

<div class="sub-content">
<div class="sub-sidebar">

<h2><?php 
echo BasicCms::title('about');
?>
</h2>

<?php 
echo BasicCms::block('about');
?>
	
</div>

<div class="banners">

<img src="images/building.jpg" alt="" title="239 Pringle Street - Kingston PA 18704" />

<br /><br />

<div class="small-test">
<div class="testimonial">
<div class="testimonial-bg" style="padding-bottom: 50px;">

  <?php 
예제 #16
0
/* Make sure this require() points to config.php. */
require('./inc/config.php');

$title="Commercial";

include(ROOT.'/inc/header.php');
?>

<div class="sub-content">

<div class="sub-sidebar">

<h2><?php 
echo BasicCms::title('commercial');
?>
</h2>

<?php 
echo BasicCms::block('commercial');
?>

</div>

<div class="banners">
</div>

</div>

<?
include(ROOT.'/inc/footer.php');
?>