ok
Direktori : /proc/thread-self/root/usr/local/sitepad/www/themes/default/ |
Current File : //proc/thread-self/root/usr/local/sitepad/www/themes/default/copy_editor_theme.php |
<?php ////////////////////////////////////////////////////////////// //=========================================================== // copy_editor_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') && !defined('SITEMUSH')){ die('Hacking Attempt'); } function copy_editor_theme(){ global $globals, $l, $theme, $nupanel, $error, $user, $done; softheader($l['title_copy_editor']); error_handle($error, '100%'); if(empty($user['ins'])){ echo '<div class="alert alert-info" style="padding:10px;font-size:15px;"><center> '.$l['no_sites'].'</center></div>'; return false; } if(!empty($done)){ echo '<div class="alert alert-success" style="padding:10px;font-size:15px;"><center><i class="sai sai-success"></i> '.$done['msg'].'</div></center>'; return true; } echo '<form accept-charset="'.$globals['charset'].'" name="all_sites" method="post" action="" id="all_sites" class="form-horizontal"> <div class="bg mt-2"> <div class="row sai_main_head"> <div class="col-sm-12 col-xs-12 text-center"> <h3>'.$l['title_copy_editor'].'</h3> </div> </div> <hr/> <div class="row justify-content-center py-2"> <div class="col-sm-8"> <div class="row py-2"> <div class="col-sm-4"> <label for="site_address" class="sai_head">'.$l['select_site'].'</label> <span class="sai_exp">'.$l['select_site_exp'].'</span> </div> <div class="col-sm-8"> <select name="insid" class="form-control">'; foreach($user['ins'] as $k => $v){ echo '<option value="'.$v['insid'].'" '.( (!empty($_POST['insid']) && $v['insid'] == trim($_POST['insid']) )? 'selected="selected"' : '' ).'>'.$v['domain'].'/'.$v['subdir'].'</option>'; } echo ' </select> </div> </div> </div> </div> <br/> <center><input type="submit" class="btn btn-primary" name="copy" value="'.$l['copy'].'" /><br /></center> </form>'; softfooter(); }