( ′∀`)σ≡σ☆))Д′)レ(゚∀゚;)ヘ=З=З=Зε≡(ノ´_ゝ`)ノ
<?php
?> <?php $me=$_SESSION['euserid']; $shared = $_GET["shared"]; if ($shared=="true") {$newnani = "&newnani=$me";}else{$newnani = "";}?>
<?php $me=$_SESSION['euserid']; $shared = $_GET["shared"]; if ($shared=="true") {$nani = $_GET["nani"];}else{$nani = $_SESSION['euserid'];}?>
<?php $me=$_SESSION['euserid']; $shared = $_GET["shared"]; if ($shared=="true") {$msg_id1= $db->base64url_decode($_GET["msg_id1"]);$themeidMe = $msg_id1;}else{$themeidMe = ucwords($favstartag[0]["id"]);}?>
<script>
$(document).ready(function(){
loading_show();
noticeHide();
$(".chooseTheme").click(function() {
loading_show();
var gifMe = $("#gifMe").val();
$.ajax({
type: "POST",
url: gifMe,
data: "",
cache: false,
success: function(html)
{
$("#check").html('<a class="icon-ok" > </a> Frame Saved Successfully!');
loadDataM("0");
$('#done').css("display","none");
$('#view').css("display","none");
loading_hide();
}
});
});
$(".exportCollage").click(function() {
loading_show();
$('.chooseTheme').css("display","none");
$('.exportCollage').css("display","none");
$('#view').css("display","none");
$('.delgif').css("display","none");
$('.exportCollage').hide();
$('.futa').hide();
$('.slidegif').hide();
$.ajax({
type: "POST",
url: Server+"collageMe.php?exportCollage=yes&catalogid=<?php echo $catalogidX;?>",
data: "",
cache: false,
success: function(html)
{
if(html == 0){alert("done"); return;}
$("#check").html('<a class="icon-ok" > </a> Story Saved Successfully!');
loadDataM(0);
$("#live").html("<img src="+Server+html+" width='100%'/>");
$('#ona').show(); $('#slidestory').show(); $('.slidestory').css("display","block");
loading_hide();
}
});
$('.futa').hide();
});
function loadDataM(page){
loading_show();
var myaccount = $("#meX").val();
$.ajax
({
type: "GET",
url: mimiServer+"service/gif.php?who="+myaccount+"",
data: "page=4-"+page,
success: function(msg)
{
$("#containerReportaB").ajaxComplete(function(event, request, settings)
{
$("#containerReportaB").html(msg);
loading_hide();
});
}
});
}
var picture = "<?php echo $pichaC;?>";
<?php if($isdisplayX == "13" || $favstartag[0]["isdisplay"] == 13 || $shared== "true") {?>var effect = "machine";<?php }else{?>var effect = "<?php echo ucwords($favstartag[0]["title"]);?>";<?php }
?>
var postPicture = $("#postPicture").val();
if($.trim(postPicture).length==0) {var postPicture = "";} else {var postPicture = "&newPic="+postPicture+""; }
$("#theLabel").html("Working "+effect+"...");
var updateval = encodeURI($("#update").val());
var pic = "<?php echo $pichaC;?>" ;
$("#live").html("<img src='collageMe.php?mag=yes&theme_id=<?php echo $themeidMe;?>&AppNo=<?php echo $catalogidX ?>&x=0&y=0&pic=<?php echo $favstartag[0]["picture"] ?>&gratitude=posted&context="+updateval+"&filter=mood&cl="+effect+""+postPicture+"&overlay=0<?php echo $newnani ?>&display=1&nani=<?php echo $nani ?><?php /*?>&"+variables+"<?php */?>' width='100%' />");
$("#theLabel").html(""+effect+"");
$("#check").html("");
$("#gifMe").val(Server+"collageMe.php?mag=yes&theme_id=<?php echo $themeidMe;?>&AppNo=<?php echo $catalogidX ?>&x=0&y=0&pic=<?php echo $favstartag[0]["picture"] ?>&gratitude=posted&context="+updateval+"&filter=mood&cl="+effect+""+postPicture+"&overlay=0<?php echo $newnani ?>&saveGifPoster=1&nani=<?php echo $nani ?>");
loadDataM("0");
$("#update").keyup(function(){
var A=$.trim($(this).val());
if(A.length<=140)
{
$("#check").html("<b class='badge bg-warning'>"+A.length+"</b>");
}
else
{
$("#check").html("140!");
}
});
});
</script>
<script type="text/javascript">
$('.refreshTheme').click(function() {
selectTheme();
});
function selectCollage()
{
$("#check").html("Selecting theme...");
loading_show();
var oldSelected =localStorage.getItem("oldSelected");
$("#check").html("Selecting Collage Photos...");
var themeid = encodeURI($("#themeid").val());
var realtheme = encodeURI($("#realtheme").val());
$("#live").html("<img src='collageMe.php?catalogid=<?php echo $catalogidX;?>&pics="+oldSelected+"' width='100%' />");
loading_hide();
}
$(".makeDefault").click(function() {
alert("ffffffffff");
loading_show();
$("#check").html("Setting "+realtheme+" as default...");
});
</script>
<header class="header " style=" margin-top:-20px">
<div class="row b-b">
<div class="col-sm-5">
<h3 class="m-t m-b-none slidegif">Preview Collage</h3> <h3 class="m-t m-b-none slidestory" style=" display:none">Preview Story</h3>
<p class="block text-muted"> <span id="theLabelX" class="label label-danger"><?php echo ucwords($favstartag[0]["title"]);?></span> <a href="indexAlone.php?mode=startags"><span class="label label-warning">Themes</span></a> </p>
</div>
<div class="col-sm-7">
<div class="clearfix m-t-lg m-b-sm pull-right pull-none-xs">
<div class="pull-left m-l-lg">
<div class="pull-left">
<input type="hidden" id='gifMe' value="" /> <a class="delgif" href="indexAlone.php?mode=gif&delgif=yes&where=photo" id="delgif" style="display:none"> <span class="btn btn-white m-r delgif" > <i class="icon-trash"></i> </span>
</a>
<?php
$msg_idS= $db->base64url_encode($msg_id1);
if(empty($msg_idS)) { $msg_idS= $db->base64url_encode($favstartag[0]["id"]); }
if($isdisplayX == "13" || $favstartag[0]["isdisplay"] == 13 || $isdisplayX == "12") {?><?php /*?><a class="makeDef" ><span class="btn btn-white m-r tipme " id="makeDefault" title="Make Default Theme"><i class="icon-star"></i> </span> </a> <?php */?> <?php } else {?> <?php }
if($isdisplayX == "13" || $favstartag[0]["isdisplay"] == 13 || $isdisplayX == "12") {?><a class="" <?php /*?>href="?mode=elements&msg_id=<?php echo $msg_idS ?>&category=alert-success&step=0&action=filter"<?php */?>>
<span class="chooseTheme btn btn-default tipme" title="Add Slide"><i class="icon-plus"></i> </span></a> <?php } else {?><a href="indexAlone.php?mode=startags&msg_id=<?php echo $msg_idS;?>&catid=&delnews=yes&where=photo"> <span class="btn btn-white " > <i class="icon-trash"></i> </span>
</a><?php }
?>
<span id="exportCollage" class="exportCollage btn btn-warning pull-right m-l tipme futa" style=" display:none" title="Save Animation" > <i class="icon-save remMe"></i></span>
<a href="index.php"><span id="ona" class="ona btn btn-success pull-right m-l tipme " style=" display:none" title="Show Animation" > <i class="icon-check"></i></span></a>
</div>
</div>
</div>
</div>
</div>
<div style="width:100%; height:100%; margin:0px; padding:0px; margin-top:3px " class="refreshTheme bg-light pull-in b-b b-r b-l font-bold" id="live">
<?php /*?> <img id="preview" src="collageMe.php?mag=yes&AppNo=254722407698&x=0&y=0&pic=050bd9a1e5c0e746fffc72bbb36ec659bIMG_7977.jpg&gratitude=posted&filter=mood&cl=<?php echo $favstartag[0]["title"] ?>&overlay=0&nani=254722407698" width="100%" /><?php */?>
<?php /*?><img class="picme" src="" id="picme" style=" width:100%; max-width:600px" />
<?php */?>
</div>
</header>
<?php /*?>
<section class="panel">
<section class="panel-body">
<article class="media">
<div class="pull-left"> <span class="icon-stack icon-2x"> <i style="color:#7C378A" class="icon-circle text-success icon-stack-base" ></i> <i class="icon-globe icon-light"></i> </span> </div>
<div class="media-body"> <a href="indexAlone.php?mode=startags" class="h4">Browse *STARTAGS</a> <small class="block m-t-xs">
<a href="indexAlone.php?mode=startags" class="text-muted"> Explore Startags from other Stars</a>
</small> </div>
</article>
</article>
</section>
</section><?php */?>
<?php /*?>
<section class="panel">
<section class="panel-body">
<article class="media">
<div class="pull-left"> <span class="icon-stack icon-2x"> <i style="color:#f26522" class="icon-circle text-success icon-stack-base" ></i> <i class="icon-asterisk icon-light"></i> </span> </div>
<div class="media-body"> <a href="indexAlone.php?mode=startags" class="h4">My *Brands</a> <small class="block m-t-xs">
<a href="indexAlone.php?mode=startags" class="text-muted">Manage my Brands</a>
</small> </div>
</article>
</article>
</section>
</section>
<section class="panel">
<section class="panel-body">
<article class="media">
<div class="pull-left"> <span class="icon-stack icon-2x"> <i style="color:#7C378A" class="icon-circle text-success icon-stack-base" ></i> <i class="icon-cloud-upload icon-light"></i> </span> </div>
<div class="media-body"> <a href="indexAlone.php?mode=upload§or=Startags" class="h4">Create New Brand</a> <small class="block m-t-xs">
<a href="indexAlone.php?mode=upload§or=Startags" class="text-muted"> Upload a new Brand </a>
</small> </div>
</article>
</article>
</section>
</section>
<section class="panel">
<section class="panel-body">
<article class="media">
<div class="pull-left"> <span class="icon-stack icon-2x"> <i style="color:#7C378A" class="icon-circle text-success icon-stack-base" ></i> <i class="icon-folder-close icon-light"></i> </span> </div>
<div class="media-body"> <a href="indexAlone.php?mode=opengallery" class="h4">Browse Open Market</a> <small class="block m-t-xs">
<a href="indexAlone.php?mode=upload§or=Gallery" class="text-muted"> Cool background photos you can use for your posts from top photographers </a>
</small> </div>
</article>
</article>
</section>
</section><?php */?>