ok
Direktori : /proc/thread-self/root/proc/self/root/usr/local/sitepad/www/themes/default/ |
Current File : //proc/thread-self/root/proc/self/root/usr/local/sitepad/www/themes/default/restore_theme.php |
<?php ////////////////////////////////////////////////////////////// //=========================================================== // restore_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 restore_theme(){ global $globals, $l, $theme, $nupanel, $error, $user, $themes, $insid, $done, $backupdir, $dbexist; softheader($l['title_restore']); echo ' <div id="install_win"> <div class="bg" id="completed" style="display:none;"><br /> <div class="alert alert-warning"> <center>'.$l['title_restore'].'</center> </div> </div> <div id="fadeout_div"> <form accept-charset="'.$globals['charset'].'" name="restore" method="post" action="" id="restore"> <div class="bg"><br /> <div class="row sai_main_head" style="width:100%;" align="center"> <div class="col-sm-5 col-xs-5" style="padding:0 10px 0 0; text-align:right;"> <i class="fa sai-restore fa-2x" style="color:#00A0D2;"></i> </div> <div class="col-sm-7 col-xs-7" style="padding-top:10px; padding-left:0; text-align:left;">'.$l['title_restore'].'</div> </div> <hr><br />'; //To detect in javascript if the process is in background if(!empty($GLOBALS['backgrounding'])){ echo '<div id="backgrounding"></div>'; } echo error_handle($error, "100%", 0, 1); if(!empty($done)){ echo '<div class="alert alert-success" style="padding:10px;font-size:15px;"><center><i class="sai sai-success"></i> '.$done['msg'].' </center> </div> <br/> <center><a href="'.$globals['index'].'act=all_sites" class="sai_head">'.$l['return_all_site'].'</a></center> '; return true; } if(!empty($backupdir)){ echo ' <div class="row"> <div class="col-sm-6"> <label class="sai_head" for="restore_dir">'.$l['restore_dir'].'</label><br /> <span class="sai_exp2">'.$l['restore_dir_exp'].'</span> </div> <div class="col-sm-6"> <input type="checkbox" name="restore_dir" id="restore_dir" '.POSTchecked('restore_dir', true).' value="1" /> </div> </div><br /> <div class="row"> <div class="col-sm-6"> <label class="sai_head" for="restore_delete_files">'.$l['restore_delete_files'].'</label><br /> <span class="sai_exp2">'.$l['restore_delete_files_exp'].'</span> </div> <div class="col-sm-6"> <input type="checkbox" name="restore_delete_files" id="restore_delete_files" '.POSTchecked('restore_delete_files', false).' value="1" /> </div> </div><br />'; } if(!empty($dbexist)){ echo ' <div class="row"> <div class="col-sm-6"> <label class="sai_head" for="restore_db">'.$l['restore_db'].'</label><br /> <span class="sai_exp2">'.$l['restore_db_exp'].'</span> </div> <div class="col-sm-6"> <input type="checkbox" name="restore_db" id="restore_db" '.POSTchecked('restore_db', true).' value="1" /> </div> </div><br />'; } echo '<br /><br /> <p align="center"> <input type="submit" name="restorebtn" class="flat-butt" id="restorebtn" value="'.$l['restore_ins'].'" /> </p> </div><br /><!--end of bg class--> </form> </div> </div>'; softfooter(); }