1 Star 1 Fork 25

Rockytkg/Joe懒人版

forked from 易航/Joe再续前缘版 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
live.php 2.59 KB
一键复制 编辑 原始数据 按行查看 历史
<?php
/**
* 直播
*
* @package custom
*
**/
?>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<?php $this->need('module/head.php'); ?>
<link rel="stylesheet" href="<?= joe\theme_url('assets/css/joe.live.min.css'); ?>">
<script src="<?= joe\theme_url('assets/js/joe.live.min.js'); ?>"></script>
</head>
<body>
<div id="Joe">
<?php $this->need('module/header.php'); ?>
<div class="joe_container">
<div class="joe_main">
<!-- 播放页 -->
<?php if (isset($_GET['profileRoom'])) : ?>
<div class="joe_live__contain joe_live__play">
<div class="joe_live__contain-title joe_live__play-title">正在播放:<?php echo $_GET['title'] ?></div>
<?php ini_set('user_agent', 'Mozilla/5.0 (Linux; U; Android 2.3.7; en-us; Nexus One Build/FRF91) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1'); ?>
<iframe class="joe_live__play-player" src="<?php echo 'https://liveshare.huya.com/iframe/' . $_GET['profileRoom'] ?>"></iframe>
</div>
<?php else : ?>
<!-- 列表页 -->
<div class="joe_live__type joe_live__contain">
<div class="joe_live__type-title joe_live__contain-title">
<div class="text">直播分类</div>
<svg class="icon" viewBox="0 0 1229 1024" xmlns="http://www.w3.org/2000/svg" width="15" height="15">
<path d="M292.649 475.648a51.405 51.405 0 1 1-72.704 72.704l-204.8-204.8a51.2 51.2 0 0 1 0-72.704l204.8-204.8a51.405 51.405 0 1 1 72.704 72.704L123.689 307.2l168.96 168.448zM51.497 358.4a51.2 51.2 0 0 1 0-102.4h614.4a51.2 51.2 0 0 1 0 102.4h-614.4zm885.248 189.952a51.405 51.405 0 1 1 72.704-72.704l204.8 204.8a51.2 51.2 0 0 1 0 72.704l-204.8 204.8a51.405 51.405 0 1 1-72.704-72.704l168.96-168.448-168.96-168.448zM1177.897 665.6a51.2 51.2 0 1 1 0 102.4h-614.4a51.2 51.2 0 0 1 0-102.4h614.4z" />
</svg>
</div>
<div class="joe_live__type-list">
<li class="error">正在拼命加载中...</li>
</div>
</div>
<div class="joe_live__list"></div>
<ul class="joe_live__pagination"></ul>
<?php endif; ?>
</div>
<?php $this->need('module/aside.php'); ?>
</div>
<?php $this->need('module/footer.php'); ?>
</div>
</body>
</html>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/xnnnjzk/Joe-lazy.git
[email protected]:xnnnjzk/Joe-lazy.git
xnnnjzk
Joe-lazy
Joe懒人版
master

搜索帮助