( ′∀`)σ≡σ☆))Д′)レ(゚∀゚;)ヘ=З=З=Зε≡(ノ´_ゝ`)ノ
<?php
$mag = $_GET["mag"];
$VideoPath = "uploads/live/";
$live_img = 'uploads/images/';
$msg_id2 =$msg_id;
$msg_id = $db->base64url_decode($msg_id);
if($action=="custom") { $script = "processCoke.php"; }
else { $script = "brandX.php";}
if(!empty($openTheme)){
$result = $db->getThemeStar($msg_id);
$picture = $result[0]["picture"];
$uploaddir = 'v/uploads/gthumbs/';
$image= 'v/uploads/gthumbs/'.$picture;
$date = md5(date('D, d M Y H:i:s'));
$uploadfile = $uploaddir .$date.$picture;
copy($image,$uploadfile);
$newfile = $date.$picture;
$part = basename($newfile);
$adddate = time();
$query = mysqli_query($link,"INSERT INTO `profilepicture` (title,catalogid, adddate,picture,isdisplay,type) VALUES ('$part', '$catalogidX','$adddate','$newfile','3','2')") or die(mysql_error());
$msg_id=$db->mynewTheme($catalogidX);
$msg_idV=$msg_id;
$db->editstar2($user_nameX.$msg_id,$msg_id);
$result = $db->getstar2($msg_id);
}else {$result = $db->getstar2($msg_id);}
$catalogid = $result[0]["catalogid"];
$title = $result[0]["title"];
$message = $result[0]["title"];
$viewnum = $result[0]["viewnum"];
$rating = $result[0]["rating"];
$picture = $result[0]["picture"];
$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);
if($isdisplay == 7)
{
$default = $description;
}
if($isdisplay == 3 || $isdisplay == 4 || $isdisplay == 5 || $isdisplay == 11 || $isdisplay == 2) {
}
else
{
header("Location: ./indexAlone.php?mode=startags&msg=Sorry+this+Startag+is+already+published+cannot+be+edited");
}
?>
<h2 style="margin-top:0px" class="post-title" id="status"> <i class="icon-check"></i> Create My Brand </h2>
<center><table id="Table_01" width="600" height="600" border="0" cellpadding="0" cellspacing="0" style="">
<tr>
<td id="bgme" align="center" width="600" height="600" valign="middle" style="background-image:url(v/uploads/gthumbs/<?php echo $picture ?>); width:600px; height:600px; background-repeat:no-repeat; " >
<center><img src="images/pick.png" border="0" usemap="#Map" /></center>
</td>
</tr>
</table>
</center>
<map name="Map" id="Map">
<?php if(empty($openTheme)){ ?> <area shape="rect" coords="81,193,255,263" href="indexAlone.php?mode=startags&page=0&category=alert-danger&msg_id1=<?php echo $msg_id2 ?>&msg_id=<?php echo $msg_id2 ?>&msg2=Brand+made+default&where=save&default=yes" /><?php }else { ?> <area shape="rect" coords="81,193,255,263" href="indexAlone.php?mode=startags&page=0&category=alert-danger&msg_id1=<?php echo $db->base64url_encode($msg_idV); ?>&msg_id=<?php echo $db->base64url_encode($msg_idV); ?>&msg2=Brand+made+default&where=save&default=yes" /><?php } ?>
<?php if($myLevel == "Premium" || $myLevel == "Administrator"){ ?>
<?php if(empty($openTheme)){ ?> <area shape="rect" coords="271,191,443,267" href="indexAlone.php?mode=elements&msg_id=<?php echo $msg_id2 ?>&category=alert-success&step=0&action=<?php echo $action ?>" /><?php }else { ?> <area shape="rect" coords="271,191,443,267" href="indexAlone.php?mode=elements&msg_id=<?php echo $db->base64url_encode($msg_idV); ?>&category=alert-success&step=0&action=<?php echo $action ?>" /><?php } ?>
<?php } ?>
<?php /*?> <area shape="rect" coords="271,191,443,267" href="indexAlone.php?mode=updateBrand&msg_id=<?php echo $msg_id2 ?>&category=alert-success&step=0&action=<?php echo $action ?>" /><?php */?>
</map>