ok

Mini Shell

Direktori : /proc/self/root/usr/local/sitepad/www/themes/default/
Upload File :
Current File : //proc/self/root/usr/local/sitepad/www/themes/default/remove_site_theme.php

<?php

//////////////////////////////////////////////////////////////
//===========================================================
// hf_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 remove_site_theme(){

global $globals, $l, $theme, $nupanel, $error, $user, $themes, $insid, $done;

softheader($l['title_remove_site']);
 
echo '
<form accept-charset="'.$globals['charset'].'" name="remove_site" method="post" action="" id="remove_site" 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><i class="fa sai-remove" style="color:#00A0D2;"></i>&nbsp;&nbsp;<span>'.$l['title_remove_site'].'</span></h3>
		</div>
	</div>
	<hr/>';
	
	error_handle($error, '100%');
	
	$site = $user['ins'][$insid];
	
	if(empty($site)){
		echo '<div class="alert alert-danger" style="padding:10px;font-size:15px;"><center><i class="sai sai-remove"></i>&nbsp;&nbsp;'.$l['no_ins_found'].'
		</center>
		</div>
		<br/>
		<center><a href="'.$globals['index'].'act=all_sites" class="sai_head">'.$l['return_all_site'].'</a></center>';
		return false;
	}
	
	if(!empty($done)){
		echo '<div class="alert alert-success" style="padding:10px;font-size:15px;"><center><i class="sai sai-success"></i>&nbsp;&nbsp;'.$done['msg'].'
		</center>
		</div>
		<br/>
		<center><a href="'.$globals['index'].'act=all_sites" class="sai_head">'.$l['return_all_site'].'</a></center>
		';
		return true;
	}

	echo '<div class="row mt-4 mb-4">
		<div class="col-sm-12">
			<div class="alert alert-info" style="padding:10px;font-size:15px;"><center>'.$l['remove_ins_conf'].'&nbsp;&nbsp;</center></div>
		</div>
	</div>
	<div class="row">
		<div class="col-sm-9 mx-auto">
			<div class="info_block">
				<div class="sai_sub_head">'.$l['site_info'] .'</div>
				<hr/>
				<div class="row mb-3">
					<div class="col-sm-5">
						<span class="sai_head">'.$l['site_id'] .'</span>
					</div>
					<div class="col-sm-6">
						<span class="sai_info">'.$site['insid'].'</span>
					</div>
				</div>
				<div class="row mb-3">
					<div class="col-sm-5">
						<span class="sai_head">'.$l['site_name'] .'</span>
					</div>
					<div class="col-sm-6">
						<span class="sai_info">'.$site['title'].'</span>
					</div>
				</div>
				<div class="row mb-3">
					<div class="col-sm-5">
						<span class="sai_head">'.$l['ins_time'] .'</span>
					</div>
					<div class="col-sm-6">
						<span class="sai_info">'.(!empty($site['ins_time']) ? date('d/m/Y', $site['ins_time']) : '').'</span>
					</div>
				</div>
				<div class="row mb-3">
					<div class="col-sm-5">
						<span class="sai_head">'.$l['path'] .'</span>
					</div>
					<div class="col-sm-6">
						<span class="sai_info">'.$site['path'].'</span>
					</div>
				</div>
				<div class="row mb-3">
					<div class="col-sm-5">
						<span class="sai_head">'.$l['url'] .'</span>
					</div>
					<div class="col-sm-6">
						<span class="sai_info">'.sitepad_site_url($site['insid']).'</span>
					</div>
				</div>
				<div class="row mb-3">
					<div class="col-sm-5">
						<span class="sai_head">'.$l['db_name'] .'</span>
					</div>
					<div class="col-sm-6">
						<span class="sai_info">'.$site['db_name'].'</span>
					</div>
				</div>
				<div class="row mb-3">
					<div class="col-sm-5">
						<span class="sai_head">'.$l['db_user'] .'</span>
					</div>
					<div class="col-sm-6">
						<span class="sai_info">'.$site['db_user'].'</span>
					</div>
				</div>
				<div class="row mb-3">
					<div class="col-sm-5">
						<span class="sai_head">'.$l['db_host'] .'</span>
					</div>
					<div class="col-sm-6">
						<span class="sai_info">'.$site['db_host'].'</span>
					</div>
				</div>
				<div class="row mb-3">
					<div class="col-sm-5">
						<span class="sai_head">'.$l['db_table_prefix'] .'</span>
					</div>
					<div class="col-sm-6">
						<span class="sai_info">'.$site['db_table_prefix'].'</span>
					</div>
				</div>
			</div>
		</div>
		<div class="col-sm-12 text-center">
			<button type="submit" name="remove_ins" class="btn btn-primary mb-4 mt-4">'.$l['remove_ins'].'</button>
			<br/>
			<a href="'.$globals['index'].'act=all_sites" class="sai_head">'.$l['return_all_site'].'</a>
		</div>
	</div>
</div>

</form>';

softfooter();

}

Zerion Mini Shell 1.0