예제 #1
0
 * ----------------------------------------------------
 * News Headlines Page (headlines.php)
 ******************************************************/
/************************************
 * Environment setup...
 ************************************/
require 'includes/application.php';
/************************************
 * Initialize page variables...
 ************************************/
$pages = new Pager();
$pages->items_total = $intSumP = countNewsHeadlines();
$pages->mid_range = 9;
$pages->paginate();
$cnt1 = $pages->items_per_page * ($pages->current_page - 1) + 1;
$arrHeadlines = getNewsHeadlines($pages->limit, true);
/************************************
 * Include the HTML header...
 ************************************/
include 'include/public_header.php';
?>
<!-- BEGIN: Top Content -->
  <div style="font-size:10px; width:98%;">
  <table cellpadding="0px" cellspacing="1px" width="100%" align="center" border="0px">
  <tbody><tr>
    <td style="font-size:11px; text-align:center;" valign="top">
    <div style="width:200px;">
    <form style="padding-left: 13px;" name="frmPRDDL" id="frmPRDDL" method="post" action="<?php 
echo BASE_URL_RSB;
?>
">
예제 #2
0
<?php

/******************************************************
 * Created by: Randy Baker
 * Created on: 23-JUL-2012
 * ----------------------------------------------------
 * Home Page (index.php)
 ******************************************************/
/************************************
 * Environment setup...
 ************************************/
require 'includes/application.php';
/************************************
 * Get the news headlines...
 ************************************/
$arrHeadlines = getNewsHeadlines(5, false);
/************************************
 * Include the HTML header...
 ************************************/
include 'include/public_header.php';
?>
  <!-- BEGIN: Top Content -->
  <div class="content ">

    <div class="one eCom">
      <div class="eComContainer">
        <div class="popularPackage">
        </div>
        <div class="splitCallout clearfix">