( ′∀`)σ≡σ☆))Д′)レ(゚∀゚;)ヘ=З=З=Зε≡(ノ´_ゝ`)ノ
<?php
if(!empty($delete))
{
$delete = $db->base64url_decode($delete);
$db->delconversation($delete);
}
$view1 = $db->base64url_decode($view);
$resultC = $db-> idtoCampaign2($view);
$themeidX = $resultC[0]["themeid"] ;
$layersTheme = $db->layersTheme($themeidX);
$json = json_decode($layersTheme, 1);
$records = $json;
$description = array();
foreach ($records as $rkey => $resource){
if ($resource['type'] == 'dynamicdescription'){
$description[] = $resource;
}
}
$description = json_encode($description);
$row = json_decode($description,true);
/*print_r($row);*/
$count = count($row);
if (empty($count) || ($count==0))
{$status =0;} else{$status =1;}
for ($i = 0; $i < $count; $i++)
{
$text .='<input value="'.$row[$i]['text'].'" name="update'.$i.'" id="update'.$i.'" class="form-control input-lg" style="border-top-width:0px;border-right-width:0px;border-left-width:0px" />';
$update .=$row[$i]['text']. " || ";
/* $text = str_replace("}","",$text) ;
$text = str_replace("{","",$text) ;*/
}
if(!empty($msg_id))
{
$theLayout = $db->base64url_decode($msg_id);
$resultLayout = $db->getstar2($theLayout);
}
else
{
$resultLayout = $db->getfavstartag();
}?>
<input type="text" style=" display: none" id="convoIdX" value=""><input type="text" style=" display: none" id="tweetIDX" value="">
<input type="text" style=" display: none" id="newthemeX" value="<?php echo ucwords($resultTheme[0]["id"]);?>">
<input type="text" style=" display: none" id="mythemeX" value="<?php echo ucwords($resultTheme[0]["title"]);?>">
<input type="text" style=" display: none" id="postpictureX">
<input type="text" style=" display: none" id="msg_idX">
<input type="text" style=" display: none" id="wysiwygX">
<input type="text" style=" display: none" id="realthemeX">
<input type="text" style=" display: none" id="themeidX">
<input type="text" style=" display: none" id="picX" value="<?php echo ucwords($resultTheme[0]["picture"]);?>">
<input type="text" style=" display: none" id="updatevalX" value="HashBrand allows you to brand and beautify your social media posts...">
<?php $msg_id_0 = $db->Profile_Pic_ID();
$msg_id_0 = $db->base64url_encode($msg_id_0);
$resultTheme = $db-> getmytheme($resultC[0]["themeid"]);
?>
<?php $msg_id = $_GET["msg_id"];
$view = $_GET["view"];
$view1 = $db->base64url_decode($view);
if(!empty($msg_id) && !empty($view))
{?>
<?php include("../newdatasets/messageAdd.php"); ?>
<?php /*?> <?php include("../newdatasets/sidebarconvoApp.php"); ?> <?php */?><?php } ?>
<style>
.highlight {
display: none; /* hidden by default, until >480px */
padding: 9px 14px;
margin-bottom: 14px;
background-color: #f7f7f9;
border: 1px solid #e1e1e8;
border-radius: 4px;
}
.highlight pre {
padding: 0;
margin-top: 0;
margin-bottom: 0;
background-color: transparent;
border: 0;
white-space: nowrap;
}
.highlight pre code {
font-size: inherit;
color: #333; /* Effectively the base text color */
}
.highlight pre .lineno {
display: inline-block;
width: 22px;
padding-right: 5px;
margin-right: 10px;
text-align: right;
color: #bebec5;
}
/* Show code snippets when we have the space */
@media screen and (min-width: 481px) {
.highlight {
display: block;
}
}
</style>
<div class="container">
<?php /*?><section class="panel animated bounce m-r-xs m-l-xs" style=" color:#333;overflow:hidden;margin-top:5px; padding:3px;" id="searchbox1"> <form action="" >
<div class="input-group" style="width:100%; margin:0px; padding:0px">
<input placeholder="search #themes" id="searcharea1" class="form-control no-border" value="" type="text"> </div>
</form>
</section>
<?php */?>
</div><!-- /container -->
<script src="<?php echo $siteaddress;?>js/elements/bootstrap.min.js"></script>
<script>
$(document).ready(function()
{
if(location.href.indexOf("#campaigns")>0)
{
$('#campaigns').tab('show');
}
$('a[rel=tooltip]').tooltip({'placement': 'bottom'});
});
</script>