( ′∀`)σ≡σ☆))Д′)レ(゚∀゚;)ヘ=З=З=Зε≡(ノ´_ゝ`)ノ
<script>
$(document).ready(function(){
$("#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>
<?php if(empty($slug))
{?>
<?php $campaign = $_GET["campaign"]; if(empty($campaign) && !empty($result))
{?>
<section class="panel">
<header class="panel-heading " >
<?php /*?> <?php if (!empty($_GET['filter'])) {?> <a href="?mode=conversation&page=<?php echo $pageprevious ?>&catid=<?php echo $catid ?><?php if (!empty($_GET['filter'])) {?>&filter=1<?php }?>"> <i class="icon-chevron-left text"></i> Back </a> <?php }?><?php */?>
<table width="100%" border="0">
<tr>
<td> <b class="text-success h4">Conversations on "<?php echo $resultC[0]["hashtag"] ?>"</b> </td>
<td style="width:300px" align="right" > <a href="indexAlone.php?mode=conversation&campaign=create" title="Replace Photo" class="tipme"> <span class="btn btn-white"> <i class="icon-chevron-left"></i> Back </span></a>
<span class="btn btn-primary refreshTheme " rel=" <?php if($favstartag[0]["isdisplay"] == 13) {?>machine<?php }else{?><?php echo ucwords($favstartag[0]["title"]);?> <?php }
?>" ><i class="icon-refresh"></i> </span>
<a href="indexAlone.php?mode=conversation&pager=<?php echo $page; ?>&msg_id=<?php echo $resultC[0]["themeid"] ?>&catid=&view=<?php echo $view ?>&where=photo&campaign=edit" title="Edit Campaign" class="tipme"> <span class="btn btn-white"> <i class="icon-edit"></i> </span></a> <?php
if (!empty($result1))
{?>
<a href="indexAlone.php?mode=conversation&pager=<?php echo $pageprevious ?>&msg_id=<?php echo $db->base64url_encode($resultC[0]["themeid"]); ?>&catid=&view=<?php echo $view ?>&where=photo"><span class="btn btn-white "><i class="icon-chevron-left"></i> </span></a>
<?php }
else
{?>
<?php /*?> <a ><span class="btn btn-white "><span class="btn btn-white "><i class="icon-chevron-left"></i> </span> </span></a><?php */?>
<?php }
?>
<?php
if (!empty($result1))
{?>
<a href="indexAlone.php?mode=conversation&pager=<?php echo $pagenext ?>&msg_id=<?php echo $db->base64url_encode($resultC[0]["themeid"]); ?>&catid=&view=<?php echo $view ?>&where=photo"><span class="btn btn-white "><i class="icon-chevron-right"></i> </span></a>
<?php }
else
{?>
<?php /*?> <a ><span class="btn btn-white "><i class="icon-chevron-right"></i> </span></a><?php */?>
<?php }
?> </td>
</tr>
</table>
</header>
<ul class="list-group gutter list-group-lg list-group-sp sortable layer-list scrollable" style="max-height:400px;">
<?php
foreach ($result as $key => $val) {
$msg_id = stripslashes($val["msg_id"]);
$catalogid = stripslashes($val["catalogid"]);
$id = stripslashes($val["id"]);
$screen_name = stripslashes($val["screen_name"]);
$tweet = stripslashes($val["tweet"]);
$tweet_pic = stripslashes($val["tweet_pic"]);
$tweet_pic = str_replace('_normal', '_bigger', $tweet_pic);
$tweet = preg_replace("/&#?[a-z0-9]{2,8};/i","",$tweet);
$tweet = iconv("UTF-8", "UTF-8//IGNORE", $tweet);
if ($isdisplay ==7 ){ $thumb ="thumbs/";} else {$thumb ="startags/";}
/*$type = pathinfo($picture, PATHINFO_EXTENSION);*/
?>
<?php $msg_id = $db->base64url_encode($msg_id); ?>
<li class="list-group-item <?php if ($isdisplay ==3 ){ ?> bg-light dkr <?php } ?><?php if ($isdisplay ==5 ){ ?> bg-light lter <?php } ?><?php if ($isdisplay ==4 ){ ?> <?php } ?>" draggable="true" style=" margin:0px; border-bottom:0px">
<table width="100%">
<tr>
<td width="50" ><a title="Make Default" href="indexAlone.php?mode=conversation&pager=<?php echo $_GET["page"] ?>&msg_id=<?php echo $resultC[0]["themeid"] ?>&catid=<?php print "$catid"; ?>&default=yes&where=photo&msg_id=<?php $msg_id_0 = $db->base64url_encode($resultC[0]["themeid"]); echo $msg_id_0 ?>&catid=&view=<?php echo $view ?>&where=photo">
<?php if(!empty($tweet_pic)){?>
<div class="thumbnail" style=" width:65px; height:65px; margin-left:0px; overflow:hidden">
<img id="<?php echo $row_Latest['title']; ?>" style="border-color:#09F;background-color:#fff" class="img-circle border avatar " height="65" width="65" src="<?php echo $tweet_pic ?>" >
<h5 style="font-size:10px"></h5> </div>
<?php /*?><img class="img-circle" src="<?php echo $tweet_pic ?>" title="Published: <?php echo $adddate ?>" style="margin:0; width:40px; height:40px;padding:0px" width="40" height="40"/><?php */?><?php } ?>
<?php if(empty($tweet_pic)){?><div class="thumbnail" style="margin:0px; width:65px; margin-left:0px; overflow:hidden"><img src="taswira.php?width=73&height=73&nocache=1&cropratio=1:1&image=/v/uploads/gthumbs/<?php echo $pichaC;?>" style="border-color:#09F;background-color:#fff" class="img-circle border avatar " height="65" width="65"/> <h5 style="font-size:10px"></h5> </div><?php } ?>
</a></td>
<td style="overflow:hidden"><span style=" font-size:13px">
<a href="?mode=conversation§or=selectConversation&convoId=<?php echo $id ?>&page=<?php echo $page?>&msg_id=<?php $msg_id_0 = $db->base64url_encode($resultC[0]["themeid"]); echo $msg_id_0 ?>&catid=&view=<?php echo $view ?>&where=photo"><strong>@<?php echo $screen_name ?>:</strong> <?php echo $tweet ?></a>
</span></td>
<td width="20" align="right"><a class="remove"><i class="icon-trash "></i></a> </td> </tr>
</table>
</li>
<?php
}?>
</ul>
</section>
<?php } ?>
<?php
$convoId = $_GET["convoId"];
$resultX = $db->convoText($convoId);
$convoTweet = $resultX[0]["tweet"];
$screen_name = $resultX[0]["screen_name"];
$convoTweet = preg_replace("/&#?[a-z0-9]{2,8};/i","",$convoTweet);
$convoTweet = iconv("UTF-8", "UTF-8//IGNORE", $convoTweet);
$convoTweet = str_replace(': ', ' : ', $convoTweet);
$convoTweet = preg_replace('#^https?://#', '', $convoTweet);
$convoTweet = preg_replace('/#\S+ */', '', $convoTweet);
$convoTweet = str_replace(': ', '- ', $convoTweet);
$convoTweet = str_replace('RT', 'Retweet', $convoTweet);
$regex = "@(https?://([-\w\.]+[-\w])+(:\d+)?(/([\w/_\.#-]*(\?\S+)?[^\.\s])?).*$)@";
$convoTweet = preg_replace($regex, ' ', $convoTweet);
?>
<span id="updatepanel">
<section class="panel" <?php if(!empty($campaign) || empty($result) ) {?>style="display:none"<?php }?>>
<form id="postit" name="postit" >
<textarea name="update" id="update" class="form-control input-lg no-border" rows="2" style="height:100px" placeholder="<?php if(!empty($slug) && $_SESSION['euserid'] != $catalogidX) {echo "*$user_nameX " ; }else {echo "How do you feel?";} ?>"></textarea>
<input type='hidden' id='me' value="1005023688676269" />
<input type='hidden' id='catalogid5' value="1005023688676269" />
<form id="imageform" method="post" enctype="multipart/form-data" action='real/service/social/image_ajax.php'>
<footer class="panel-footer bg-light lter">
<div id='preview'>
</div>
<input type='hidden' id='uploadvalues' />
<span class="btn btn-default pull-right btn-file pull-right" id='imageloadbutton' style="display:none">
<i class="icon-picture"></i>Upload <input type="file" name="photoimg" id="photoimg">
</span>
<input id="fx" name="fx" class="form-control" value="" type="hidden">
<input id="newtheme" name="newtheme" class="form-control" value="" type="hidden">
<input id="realtheme" name="realtheme" class="form-control" value="<?php echo ucwords($resultLayout[0]["title"]);?>" type="hidden">
<input id="themeid" name="themeid" class="form-control" value="<?php echo ucwords($resultLayout[0]["newsid"]);?>" type="hidden">
<input id="mytheme" name="mytheme" class="form-control" value="<?php if( $resultLayout[0]["isdisplay"] == 13) {?>machine<?php }else{?><?php echo ucwords($resultLayout[0]["title"]);?><?php }
?>" type="hidden">
<input id="pagerC" name="pagerC" class="form-control" value="<?php echo $page;?>" type="hidden">
<input id="convoId" name="convoId" class="form-control" value="<?php echo $_GET["convoId"];?>" type="hidden">
<span class="btn btn-warning pull-right refreshTheme " rel=" <?php if($resultLayout[0]["isdisplay"] == 13) {?>machine<?php }else{?><?php echo ucwords($resultLayout[0]["title"]);?> <?php }
?>" ><i class="icon-refresh"></i> </span>
<ul class="nav nav-pills">
<?php /*?> <li><a href="<?php echo $siteaddress; ?>indexAlone.php?mode=selfie<?php echo $activeUrl ?>" ><i class="icon-camera"></i></a></li>
<?php */?> <?php /*?> <li><a href="<?php echo $siteaddress; ?>indexAlone.php?mode=upload§or=Video<?php echo $activeUrl ?>"><i class="icon-facetime-video"></i></a></li><?php */?>
<?php /*?><li><a href="<?php echo $siteaddress; ?>indexAlone.php?mode=upload"><i class="icon-upload-alt"></i></a></li><?php */?>
<?php /*?> <li><a href="<?php echo $siteaddress; ?>indexAlone.php?mode=opengallery"><i style="color:#7C378A" class="icon-asterisk"></i></a></li>
<?php */?>
<?php /*?><li><a href="<?php echo $siteaddress; ?>indexAlone.php?mode=upload&action=default" class='uploadit' ><i class="icon-picture"></i></a></li><?php */?>
<span id="okay"></span><?php /*?> <li><a href="<?php echo $siteaddress; ?>indexAlone.php?mode=favorites " ><i class="icon-heart"></i></a></li><?php */?>
<?php /*?> <div class="pillbox no-borders pull-left">
<ul id="filters" >
<li class="label bg-default dker" id="title">*<?php echo strtolower($resultLayout[0]["title"]);?></li>
<li class="label bg-default dker" id="description">*<?php echo strtolower($resultLayout[0]["description"]);?></li>
<li class="label bg-default dker" id="effect">*<?php echo strtolower($resultLayout[0]["fx"]);?></li>
</ul>
</div> <?php */?>
</ul>
</footer>
<?php /*?>
<span class="btn btn-default btn-file pull-right" id='imageloadbutton' style="display:none">
Browse <input type="file" name="photoimg" id="photoimg">
</span>
<div id='imageloadstatus' style='display:none;'>Uploading....</div><?php */?>
</form>
<span id="liveupdate2" ></span>
<div id='flashmessage'>
<div id="flash" ></div>
</div>
</form>
</section>
</span>
<?php } ?>