ok
Direktori : /proc/thread-self/root/usr/local/sitepad/www/www/www/themes/default/admin/ |
Current File : //proc/thread-self/root/usr/local/sitepad/www/www/www/themes/default/admin/installations_theme.php |
<?php ////////////////////////////////////////////////////////////// //=========================================================== // installations_theme.php //=========================================================== // SOFTACULOUS // Version : 1.1 // Inspired by the DESIRE to be the BEST OF ALL // ---------------------------------------------------------- // Started by: Alons // Date: 10th Jan 2009 // Time: 21:00 hrs // Site: http://www.softaculous.com/ (SOFTACULOUS) // ---------------------------------------------------------- // Please Read the Terms of use at http://www.softaculous.com // ---------------------------------------------------------- //=========================================================== // (c)Softaculous Inc. //=========================================================== ////////////////////////////////////////////////////////////// if(!defined('SITEPAD')){ die('Hacking Attempt'); } function installations_theme(){ global $theme, $globals, $user, $l, $langs, $skins, $error, $list, $scripts, $_scriptwise, $emailed, $iscripts, $autoupgrade, $ins_to_be_upgrade, $records_updated, $real_version, $_domainwise; if(optGET('api')){ _api($list, optGET('api')); return; } softheader($l['ins_title']); echo '<div class="container-fluid"><br /><br />'; /*echo '<div class="container-fluid"><br /><br /> <form accept-charset="'.$globals['charset'].'" name="serchinstallations" method="post" action="" class="form-horizontal"> <div class="sai_main_head text-center">'.$l['searchinstallations'].'</div> <div class="sai_form">'; error_handle($error); echo '<div class="row"><br /> <div class="col-sm-3"> <label for="scripts" class="sai_head">'.$l['search_scripts'].'</label><br /> <span class="sai_exp2">'.$l['search_scripts_exp'].'</span> </div> <div class="col-sm-3"> <input type="text" name="scripts" class="form-control" id="scripts" size="30" value="'.POSTval('scripts').'" onkeyup="handlesuggest(event, \'scripts\')" onkeydown="handlekeys(event)" autocomplete=off onblur="setTimeout(hidesuggest, 1000);" suggesturl="'.$globals['ind'].'act=suggest&sact=scripts" /> </div> <div class="col-sm-3"> <label for="group_by_scripts" class="sai_head">'.$l['group_by_scripts'].'</label><br /> <span class="sai_exp2">'.$l['group_by_scripts_exp'].'</span> </div> <div class="col-sm-3"> <input type="checkbox" name="group_by_scripts" id="group_by_scripts" '.POSTchecked('group_by_scripts').' /> </div> </div><br /> <div class="row"> <div class="col-sm-3"> <label for="users" class="sai_head">'.$l['search_users'].'</label><br /> <span class="sai_exp2">'.$l['search_users_exp'].'</span> </div> <div class="col-sm-3"> <input type="text" name="users" class="form-control" id="users" size="30" value="'.POSTval('users').'" onkeyup="handlesuggest(event, \'users\')" onkeydown="handlekeys(event)" autocomplete=off onblur="setTimeout(hidesuggest, 1000);" suggesturl="'.$globals['ind'].'act=suggest&sact=users" /> </div> <div class="col-sm-3"> <label class="sai_head">'.$l['only_outdated'].'</label><br /> <span class="sai_exp2">'.$l['only_outdated_exp'].'</span> </div> <div class="col-sm-3"> <input type="checkbox" name="only_outdated" '.POSTchecked('only_outdated').' /> </div> </div><br /> <div class="row"> <div class="col-sm-3"> <label for="domains" class="sai_head">'.$l['search_domains'].'</label><br /> <span class="sai_exp2">'.$l['search_domains_exp'].'</span> </div> <div class="col-sm-3"> <input type="text" class="form-control" name="domains" id="domains" size="30" value="'.POSTval('domains').'" /> </div> <div class="col-sm-3"> <label class="sai_head">'.$l['only_realversion'].'</label><br /> <span class="sai_exp2">'.$l['only_realversion_exp'].'</span> </div> <div class="col-sm-3"> <input type="checkbox" name="only_realversion" '.POSTchecked('only_realversion').' /> </div> </div><br /><br /> <p align="center"> <input type="submit" name="listinstallations" value="'.$l['search_ins'].'" class="flat-butt" /> </p> </div> </div> </form>';*/ if(empty($list)){ echo '<h2 align="center">'.$l['no_results'].'</h2>'; }else{ echo '<div id="list_ins row"> <table width="100%" cellpadding="5" cellspacing="1" border="0" class="table table-bordered"> <tr> <thead style="background:#d3d3d3;"> <th width="100">'.$l['li_user'].'</th> <th>'.$l['li_url'].'</th> <th width="10%">'.$l['li_insver'].'</th> <th width="10%">'.$l['li_ver'].'</th> </thead> </tr>'; $class = ''; foreach($list as $lk => $lv){ $i = 1; $class = ($class == 'lione' ? 'litwo' : 'lione'); foreach($lv['ins'] as $llk => $llv){ $url = site_url($llv); echo '<tr> <td class="'.($i == 1 ? $class : '').'">'.$lk.'</td> <td class="'.$class.'"><a href="'.$url.'" target="_blank">'.$url.'</a></td> <td class="'.$class.'">'.$globals['version'].'</td> <td class="'.$class.'">'.$globals['version'].'</td> </tr>'; $i++; } } echo '</table> </div>'; } echo '</div><br />'; softfooter(); }