Example #1
0
<?
require_once("./model/m_advisor.php");
$m_advisor = new M_advisor;
$advisor=$m_advisor->get_all_advisor(100000,0);

require_once("./model/m_action.php");
$m_action = new M_action;
$action=$m_action->get_all_action(100000,0)->result;
foreach ($action as $key => $value) {
    $photo_arr=$m_action->get_all_action_photo($action[$key]['id']);
    $action[$key]['photo']=$photo_arr->result;
}
require_once("./model/m_partner.php");
$m_partner = new M_partner;
$partner=$m_partner->get_all_partner(10000,0)->result;

require_once("./model/m_banner.php");
$m_banner = new M_banner;
$banner=$m_banner->get_all_banner(100000,0);
require_once("./model/m_encore.php");
$m_encore = new M_encore;
$encore=$m_encore->get_encore()->result;     
?>
<!-- CONTENT ************************** -->
<div id="fullpage">
    <!-- fullpage -->
    <!-- S1 ========================= -->
    <div class="section s1">
        <div class="container">
            <div class="row">
                <div class="twelve columns">
Example #2
0
<?
include("views/admin_header.php");
require_once("../model/m_action.php");
$m_action = new M_action;
$action=$m_action->get_all_action(100000,0);
?>
<style type="text/css">
	.ui-state-highlight { position: relative;
  width: 100%;
  height: 150px;
  margin:10px; 
}
</style>
<div class="container-fluid">
            <div class="row-fluid">                
                <div class="span12" id="content">

                     <div class="row-fluid">
                        <!-- block -->
                        <div class="block">
                            <div class="navbar navbar-inner block-header">
                                <div class="muted pull-left">any i in action</div>
                            </div>
                            <div class="block-content collapse in">
                                <div class="span12">
                                   <div class="table-toolbar">
                                      <div class="btn-group">
                                         <a href="in_action_add.php"><button class="btn btn-success">Add any i in action <i class="icon-plus icon-white"></i></button></a>
                                      </div>                                      
                                   </div>