GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — you2php/channel.php at master · phil153/you2php Expand file tree/ Copy pathchannel.phpMore file actions 96 lines (76 loc) · 3.83 KB / Copy pathchannel.phpFile metadata and controls96 lines (76 loc) · 3.83 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 <?php require_once "lang.conf.php"; if(!is_array($_GET)&&count($_GET)<=0){ exit(); } include("./lib.php"); $channel=get_channel_info($_GET['channelid'],APIKEY); $headtitle=$channel['items'][0]['snippet']['title'].'-'.SITE_NAME; include("./header.php"); if(isset($_GET['pageToken'])){$ptk=$_GET["pageToken"];} else {$ptk='';} ?> <div class="bg1" style="background: url(./thumbnail.php?type=banner&vid=<?php echo $channel['items'][0]['id'] ?>);background-repeat: no-repeat;background-position: center center;background-size: cover;" > <div class="touxiang"> <div id="bg2"> <div id="bg3" style="border-radius: 100%;background: url(./thumbnail.php?type=photo&vid=<?php echo $channel['items'][0]['id'] ?>) center no-repeat;background-size: cover;"> </div></div> <div class="container pt-2"> <div id="bg4" class="txt2"><?php echo $channel['items'][0]['snippet']['title'] ?></div> <p class="kkkkkk pb-1 text-center" style="color: white;"> <?php if(!empty($channel['items'][0]['snippet']['description'])){echo $channel['items'][0]['snippet']['description'];}else{echo '这个家伙很懒,什么也没留下...';}?> </p> <script> $(document).ready(function(){ $('.kkkkkk').collapser({ mode: 'lines', truncate: 1, showText: '<i class="fa d-inline fa-2x fa-angle-down shangico"></i>', hideText: '<i class="fa d-inline fa-2x fa-angle-up shangico"></i>', }); }); </script> </div> </div> <div class="bg10"></div> </div> <div class="container pt-2"> <div class="py-2"> <div class="row"> <div class="container"> <div class="row equipo-item"> <div class="col-md-4 col-sm-12 col-xs-12 col-lg-4 equipodiv order-md-1 order-lg-1 order-xs-2 order-sm-2"> <div class="related"> <p class="font-weight-bold h6 pb-1"><?php echo $lang['CHANEL_M2']?></p> <span class="d-block py-3 fa fa-calendar"> <?php echo $lang['CHANEL_M3']?><?php echo date("Y-m-d", strtotime($channel['items'][0]['snippet']['publishedAt']));?></span> <span class="d-block py-3 fa fa-play"> <?php echo $channel['items'][0]['statistics']['viewCount']?><?php echo $lang['CHANEL_M4']?></span> <span class="d-block py-3 fa fa-user-circle-o"> <?php echo $channel['items'][0]['statistics']['subscriberCount']?><?php echo $lang['CHANEL_M5']?></span> <span class="d-block py-3 fa fa-globe"> <?php echo $lang['CHANEL_M6']?><?php if (array_key_exists('country',$channel['items'][0]['snippet'])) {echo get_country($channel['items'][0]['snippet']['country']);} else {echo $lang['CHANEL_M6B'];}?></span> </div> <div class="related text-nowrap"> <p class="font-weight-bold h6 pb-1"><?php echo $lang['CHANEL_M7']?></p> <?php $xg=get_related_channel($channel['items'][0]['id']); foreach ($xg as $v) { echo '<span class="d-block"> <a href="./channel.php?channelid='.$v['id'].'" target="_blank"> <img src="./thumbnail.php?type=photo&vid='.$v['id'].'" class="txlistimg"></a> <a href="./channel.php?channelid='.$v['id'].'" target="_blank" title="'.$v['name'].'"class="text-dark txlist"> '.$v['name'].'</a> </span>'; } ?> </div> </div> <div class="col-md-8 col-sm-12 col-xs-12 col-lg-8 related order-md-2 order-lg-2 order-xs-1 order-sm-1"> <div class="font-weight-bold h6 pb-1"><?php echo $lang['CHANEL_M8']?><?php echo $channel['items'][0]['statistics']['videoCount'] ?>个)</div> <div id="videocontent"></div> <script>$("#videocontent").load('<?php echo './ajax/ajax.php?channelid='.$_GET['channelid'].'&type=channels&ptk='.$_GET['pageToken']?>');</script> </div> </div> </div> </div> </div> </div> </div> <?php include("./footer.php"); ?> |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |