<?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) $activity = $con->activity; $Tresults = $con->Tresults; print_r($activity); echo " total results {$Tresults} <br>"; $ads = "fs_folders/images/ads/5.gif"; $coding = "postarticle1"; if ($coding == "postarticle") { for ($i = 0; $i < 9; $i++) { ?> <li > <div id="article_height_width" class="article_container_div" > <table id='article_t' border="0" cellpadding="0" cellspacing="0" >
<?php require 'require_connect_modals.php'; $con = new connections(); $con->local_connect(); ?> <div id='imgs'> <?php $usr = new myclass(); $tres = $_GET['tres']; $con->calculate_show(8, intval($_GET['tres']), $usr); $con->home_tabs_selected($_GET['home_tab'], $usr); // new do it once at a time // $con->latest_look = get_all_look_latest(); // $con->all_users = $usr->get_all_user(); // $Tlatest_look = count($con->latest_look); // $Tall_users = count($con->all_users); // end do it onece at a time // print_r($con->activity); // echo "<br>"; // $Tresults = 2; //count($con->activity); // for ($i=0; $i <count($con->activity) ; $i++) // { // echo ' con->mno = '.$con->activity[$i]['con->mno'].'<br>'; // echo ' action = '.$con->activity[$i]['action'].'<br>'; // echo ' _table = '.$con->activity[$i]['_table'].'<br>'; // echo ' _table_id = '.$con->activity[$i]['_table_id'].'<br>'; // echo "user is name is = ". $usr->get_full_name_by_id($con->activity[$i]['con->mno']); // echo " rate comment and favorite a look "; // echo "by = ".$usr->get_full_name_by_look_id($con->activity[$i]['_table_id']);