( ′∀`)σ≡σ☆))Д′)レ(゚∀゚;)ヘ=З=З=Зε≡(ノ´_ゝ`)ノ
<?php
/*if($myLevel == "Premium" || $myLevel == "Administrator"){ }
else
{
header("Location: index.php?mode=startags&msg=Upgrade your account to Premium to access customised features !");
}*/
$mag = $_GET["mag"];
$VideoPath = "uploads/live/";
$live_img = 'uploads/images/';
$msg_id2 =$msg_id;
$msg_id = $db->base64url_decode($msg_id);
$realthemeID = $msg_id;
$resultShare = $db->checkPublic($catalogidX,$msg_id);
/* echo $resultShare[0]["public"];*/
if($action=="custom") { $script = "processCoke.php"; }
else { $script = "brandX.php";}
$result = $db->getstar2($msg_id);
$picture = $result[0]["picture"];
$extfile = explode('.',$picture);
$extfile = strtolower($extfile[1]);
/*if($extfile =="png")
{
$msg_id = $db->preparePng($picture,$msg_id);
}*/
$catalogid = $result[0]["catalogid"];
$title = $result[0]["title"];
$message = $result[0]["title"];
$viewnum = $result[0]["viewnum"];
$rating = $result[0]["rating"];
$ratenum = $result[0]["ratenum"];
$episodeid = $result[0]["episodeid"];
$slug = $result[0]["slug"];
$keywords = $result[0]["keywords"];
$isdisplay = $result[0]["isdisplay"];
$description = $result[0]["description"];
$vcat = $result[0]["vcat"];
$summary = $result[0]["summary"];
$video = $result[0]["video"];
$description= $result[0]["description"];
$original= $result[0]["picture"];
$fxme= $result[0]["fx"];
$default2 = $user_nameX.rand(10,99);
?>
<?php /*?>
<?php echo $msg_id ?><?php */?>
<link rel="stylesheet" type="text/css" href="elementsMachine/simple-xhr-uploader.min.css">
<link rel="stylesheet" type="text/css" href="elementsMachine/demo.css">
<link rel="stylesheet" type="text/css" href="elementsMachine/style.css">
<script src="js/jquery-ui.min.js" type="text/javascript"></script>
<script src="elementsMachine/textStyles/js/evol-colorpicker.min.js" type="text/javascript"></script>
<div class="row" id="full">
<div class="col-xs-12 col-md-6" style="margin-top: -20px">
<?php /*?> <h3 class="m-t m-b-none" >Design my *theme </h3><?php */?>
<div class="controls form">
<div class="controls-destroyed">
<div class="form-group">
<div>
<button style="display:none" class="init" type="button">Init</button>
</div>
</div>
</div>
<div class="">
<div class="form-group">
<p class="alert alert-warning same-origin-warning">
<?php /*?> The sources those are not start with current URL's origin will not be in rendered result because of the Same-Origin Policy. See <a href="https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy" target="_blank">MDN Docs</a> for details.<?php */?>
</p>
</div>
<?php /*?> <div class="form-group" style="display:none">
<label>Actions</label>
<label><input checked type="checkbox" class="enabled" /> Enabled</label>
<label><input checked type="checkbox" class="move" /> Move</label>
<label><input checked type="checkbox" class="resize" /> Resize</label>
<label><input checked type="checkbox" class="rotate" /> Rotate</label>
<label><input checked type="checkbox" class="overflow" /> Overflow</label>
</div>
<div class="form-group" style="display:none">
<label>Canvas width, height</label>
<div class="form-inline">
<input type="text" class="canvas-width numeric" />
<input type="text" class="canvas-height numeric" />
<button type="button" class="set-canvas-sizes">Set</button>
</div>
</div><?php */?>
<div class="form-group">
<section class="panel">
<div class="panel-body b-t" >
<input type="text" placeholder="ss" id="addPlain" value="" class="addPlain" style="display:none"/>
<input type="text" placeholder="ss" value="" class="layer" style="display:none"/>
<?php /*?><button class="add-new-layer" >Add</button> <?php */?>
w
<a href="index.php?mode=startags&msg_id=<?php echo $msg_id2;?>&catid=&delnews=yes&where=photo"> <span class="btn btn-white m-r" > <i class="icon-trash"></i> </span> </a>
<button class="upload-image btn btn-warning pull-right" id="" data-url="uploadElements.php?themeid=<?php echo $msg_id2 ?>&catalogid=<?php echo $catalogid5 ?>&addElement=yes"><i class="icon-plus"></i> <i class="icon-picture"></i></button>
</div></section>
</div>
<div class="form-group">
<div class="controls">
<div class="controls-initialized">
<div class="row">
<?php include("pages/themeElements.php"); ?>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<link href="elementsMachine/textStyles/css/evol-colorpicker.min.css" rel="stylesheet" />
<?php include("pages/nav/brand.php"); ?>
</div>
<script type="text/javascript" src="elementsMachine/simple-xhr-uploader.min.js"></script>
<script>
// Events demo
function setColor(evt, color){
if(color){
$('#cpEvent').css('background-color', color);
}
}
$('#cpBinding').colorpicker({
color:'#ebf1dd',
initialHistory: ['#ff0000','#000000','red', 'purple']
})
.on('change.color', setColor)
.on('mouseover.color', setColor);
// Instanciate colorpickers
$('.colorText').colorpicker({
color:'#<?php echo $text_color ?>',
initialHistory: ['#ff0000','#000000','red', 'purple']
})
// Instanciate colorpickers
$('.colorName').colorpicker({
color:'#<?php echo $name_color ?>',
initialHistory: ['#ff0000','#000000','red', 'purple']
})
// Instanciate colorpickers
$('.colorUrl').colorpicker({
color:'#<?php echo $url_color ?>',
initialHistory: ['#ff0000','#000000','red', 'purple']
})
// Instanciate colorpickers
$('.colorUser').colorpicker({
color:'#<?php echo $user_color ?>',
initialHistory: ['#ff0000','#000000','red', 'purple']
}) // Instanciate colorpickers
$('.colorPlain').colorpicker({
color:'#<?php echo $addon_color ?>',
initialHistory: ['#ff0000','#000000','red', 'purple']
})
$('#cpBinding').colorpicker({
color:'#ebf1dd'
})
</script>