示例#1
0
文件: index.php 项目: jesus143/fs-dev
<?php

if (session_start()) {
    echo " session started";
} else {
    echo " session not started";
}
require 'require_connect_modals.php';
$con = new connections();
$con->modal_connect();
?>
<div id='imgs'> 

<?php 
$mc = new myclass();
$ri = new resizeImage();
$pa = new postarticle();
$tres = $_GET['tres'];
$home_tab = $_GET['home_tab'];
$home_tab = "lates";
if (!empty($home_tab)) {
    $_SESSION['home_tab'] = $home_tab;
    echo " tab is not empty  tab = {$home_tab} session is  " . $_SESSION['home_tab'] . "<br>";
} else {
    echo " tab is empty  tab = {$home_tab} session is  " . $_SESSION['home_tab'] . "<br>";
    $home_tab = $_SESSION['home_tab'];
}
// echo "  tres = $tres home_tab = $home_tab";
$con->calculate_show(22, intval($_GET['tres']), $mc);
$con->home_tabs_selected($home_tab, $mc, 80);
// while(false)