( ′∀`)σ≡σ☆))Д′)レ(゚∀゚;)ヘ=З=З=Зε≡(ノ´_ゝ`)ノ
<?php
$VideoPath = "uploads/live/";
$live_img = 'uploads/images/';
$view = $db->base64url_decode($view);
$result = $db->getconnectionbyid($view);
$catalogid = $result[0]["catalogid"];
$id = $result[0]["id"];
$isdisplay = $result[0]["isdisplay"];
$reaction = $result[0]["reaction"];
$description = $result[0]["comments"];
$when = $result[0]["when"];
$where = $result[0]["where"];
$type = $result[0]["type"];
$offer = $result[0]["offer"];
$counteroffer = $result[0]["counteroffer"];
$finaloffer = $result[0]["finaloffer"];
$deal = $result[0]["deal"];
$mtime=date("c",$result[0]["time"]);
$mtime2=date("c",time());
$yanani = $result[0]["yanani"];
$catalogid = $result[0]["catalogid"];
$timeis = $result[0]["timeis"];
$performance = $result[0]["performance"];
$satisfied = $result[0]["satisfied"];
$punctuality = $result[0]["punctuality"];
$resultY = $db->getuser($yanani);
$resultC = $db->getuser($catalogid);
$resultA = $db->getuser($_SESSION['euserid']);
/* echo $resultU[0]["catalogname"];
echo $resultV[0]["catalogname"];*/
$comments = $result[0]["comments"];
switch ($type)
{
case '1':
$str ="Gig";
$icon ='<i class="icon-music "></i>';
$color ='btn-info';
break;
case '2':
$str ="Meeting";
$icon ='<i class="icon-coffee"></i>';
$color ='btn-warning';
break;
case '3':
$str ="Studio";
$icon ='<i class="icon-microphone"></i>';
$color ='btn-success';
break;
case '4':
$str ="Collabo";
$icon ='<i class="icon-group"></i>';
$color ='btn-primary';
break;
case '5':
$str ="Interview";
$icon ='<i class="icon-facetime-video"></i>';
$color ='btn-danger';
break;
}
$myidis = $_SESSION['euserid'];
if($yanani == $myidis)
{
$status ="Received $str request from";
$catalogid = $result[0]["catalogid"];
$trigger =1;
}
else
{
$status ="You sent $str request to";
$catalogid = $result[0]["yanani"];
$trigger =0;
}
$picturemeY=$db->Profile_Pic($yanani);
$picturemeC=$db->Profile_Pic($catalogid);
?>
<h2 style="margin-top:0px" class="post-title"><i class="icon-tasks"></i>ConnectMe Status</h2>
<table width="100%" border="0">
<tr>
<td style="padding:0px">
<p class="h4 text-muted">See the status of your connections and reponses. <br />
Click to see more details</p>
</td>
</tr>
</table>
<li class="list-group-item bg-light">
<br />
<table cellspacing="0" cellpadding="0" style="font-size:20px">
<tr >
<td width="64" valign="middle">
<img src="<?php echo $siteaddress;?>taswira.php?width=100&height=100&cropratio=1:1&image=/photo/<?php echo $picturemeC ?>" class="img-circle m-t-sm" height="100" width="100" />
</td>
<td width="100%" valign="middle" >
<a href="indexAlone.php?mode=connectme&connections=1&view=<?php echo $id ?>&min=yes" class="btn <?php echo $color ?> m-l-lg"> <?php print $icon; ?> </a>
<a class="btn btn-info m-l-lg" href="indexAlone.php?mode=connectme&connections=1&view=<?php echo $id ?>&min=yes"> <?php
$nameinfo2 = $db->getallugccatalogname();
if (!empty($nameinfo2)){
while (list($key,$val)=each($nameinfo2)) {
$tempcatalogid2 = stripslashes($val["catalogid"]);
$catalogname = stripslashes($val["catalogname"]);
$slug = stripslashes($val["slug"]);
if ($catalogid==$tempcatalogid2){?>
<span style="color:#fff;"> <?php echo $status ?> </span><?php print " $catalogname"; ?>
<?php }
else
{?>
<?php }
}
}
?></a>
</td>
<td width="18">
</td>
</tr></table><br />
<br />
</li>
<?php
if ($str =="Gig")
{
if ($trigger =="1" || $isdisplay =="4" || $isdisplay =="5" || $isdisplay =="6" || $isdisplay =="7" || $isdisplay =="8")
{
include("reply/gig.php");
}
else
{
include("gig.php");
}
}
if ($str =="Meeting")
{
include("meeting.php");
}
if ($str =="Collabo")
{
include("collabo.php");
}
if ($str =="Studio")
{
include("studio.php");
}
if ($str =="Interview")
{
include("interview.php");
}
?>