<html> <head> <title></title> <!-- new innir script auto scroll down page when oppen--> <script type="text/javascript" src='fs_folders/js/Scrape.js' ></script> </head> <body style="padding:0px; margin:0px;" onload="invited_person ( 'invited-person' , 'change-content' , '' , '#invited-people-sort' )" id='ThisIsTheBody' > <?php //$lookbook->printDisplayResultFromServer('display:block'); ?> <table id="invite_menu" > <?php $lookbook->printScrapperMenu($sc, $mc, 'NEW YORK', 0, $totalApprovedEmail, $invited1, $database); ?> </table> <table border="1" cellpadding="0" cellspacing="0" id="invite-container-left" > <?php $lookbook->printContainerAndViewMore($mc); ?> </table> </body> </html> <!-- Latest compiled and minified CSS --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
$mc->print_invited_people($response, $process, TRUE); echo "<design>"; } break; case 'change-content': $invited1->_setInvitedTotals($database); // get total approved information // to show the total person in every location it needs to be enable // reason why desabled is because it can make the site move slow. //print nav menu $invited = select_v3('fs_invited', 'count(*)', " invited_status = 1 "); $totalApprovedEmail = $invited[0][0]; echo "<invited-menu-bool>change invited menu<invited-menu-bool>"; echo "<invited-menu>"; // $lookbook->printScrapperMenu($sc , $mc , $location , $status_val , $totalApprovedEmail, ); $lookbook->printScrapperMenu($sc, $mc, $location, $status_val, $totalApprovedEmail, $invited1, $database); echo "<invited-menu>"; //set session $_SESSION['start'] = $_SESSION['initial_start']; $_SESSION['end'] = $_SESSION['initial_end']; $start = intval($_SESSION['start']); $end = intval($_SESSION['end']); //condition order rowname if ($status_val == 0) { //$ordername = 'invited_id'; $ordername = 'invited_date'; } else { $ordername = 'invited_date'; } //query invited info $invited = select_v3('fs_invited', '*', " invited_status = {$status_val} and location = '{$location}' order by {$ordername} desc limit {$start} , {$end}");