( ′∀`)σ≡σ☆))Д′)レ(゚∀゚;)ヘ=З=З=Зε≡(ノ´_ゝ`)ノ
<?php
$VideoPath = "uploads/live/";
$live_img = 'uploads/images/';
$msg_id = $db->base64url_decode($msg_id);
$result = $db->getnewsbyidr($msg_id);
$catalogid = $result[0]["catalogid"];
$title = $result[0]["title"];
$message = $result[0]["message"];
$viewnum = $result[0]["viewnum"];
$rating = $result[0]["rating"];
$picture = $result[0]["picture"];
$ratenum = $result[0]["ratenum"];
$episodeid = $result[0]["episodeid"];
$slug = $result[0]["slug"];
$keywords = $result[0]["keywords"];
$isdisplay = $result[0]["isdisplay"];
$type = $result[0]["type"];
$description = $result[0]["description"];
$vcat = $result[0]["vcat"];
$summary = $result[0]["summary"];
$video = $result[0]["video"];
$thumb= $result[0]["thumb"];
$original= $result[0]["original"];
?>
<form action="indexAlone.php?mode=photos" name="myform" id="myform" method="POST" >
<table width="100%" border="0">
<tr>
<td valign="top"> <h2 style="margin-top:0px" class="post-title">Edit Caption </h2> </td>
<td align="right" valign="top"><input name="goCap2" value="Share" type="submit" class="btn-lg btn-info pull-right " style=" margin-top:2px;border:0px;width:105px; margin-right:5px; background-color:#F2B601" ></td>
</tr>
</table>
<center>
<section class="panel m-t-lg" >
<div class="pull-in bg-light clearfix m-b-n" style="text-align:center; min-height:300px; background-color:#000;">
<?php if ($type =="10" ){ ?>
<div class="audio-player" style="width:100%" align="center">
<audio id="audio-player<?php echo $msg_id;?>" src="<?php echo $siteaddress3 ?>v/uploads/raw/<?php echo $original ?>" type="audio/mp3" controls="controls"></audio>
</div>
<script>
$(document).ready(function() {
$('#audio-player<?php echo $msg_id;?>').mediaelementplayer({
alwaysShowControls: true,
features: ['playpause','volume','progress'],
audioVolume: 'horizontal',
audioWidth: 300,
audioHeight: 120
});
});
</script>
<?php } ?>
<?php if ($type =="11" ){ ?>
<video id="video" width="100%" height="100%" poster="<?php echo $siteaddress3 ?>taswira.php?quality=70&width=600&height=400&cropratio=1.5:1&image=/v/uploads/gthumbs/<?php echo $face;?>">
<source src="<?php echo $siteaddress3 ?>v/uploads/raw/<?php echo $original ?>" type="video/mp4">
</video>
<script>
$(document).ready(function() {
$('#video').mediaelementplayer({
alwaysShowControls: false,
videoVolume: 'horizontal',
features: ['playpause','progress','volume','fullscreen']
});
});
</script> <?php } ?>
</div>
</section>
<input type="hidden" name="msg_id" value="<?php print "$msg_id"; ?>">
<div class="form-group" style="width:90%; padding-top:20px">
<div class="input-group m-b"> <span class="input-group-addon ltno-border bg-info dk"> Caption </span>
<input name="mytitle" type="text" placeholder="Caption" class="form-control input-lg" id="mytitle" maxlength="300" value="<?php print "$message"; ?>"></div>
</div>
<br />
</center></form>