1 Star 0 Fork 0

雷里雷/wlyz

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
tv.php 3.69 KB
一键复制 编辑 原始数据 按行查看 历史
雷里雷 提交于 2015-02-27 10:04 . 11
<?php
$estr='#4688EB';
$useragent = addslashes($_SERVER['HTTP_USER_AGENT']);
if(strpos($useragent, 'Android') === false && strpos($useragent, 'webOS') === false && strpos($useragent, 'iPhone') === false && strpos($useragent, 'iPad') === false && strpos($useragent, 'iPod') === false && strpos($useragent, 'BlackBerry') === false && strpos($useragent, 'Windows Phone') === false){
echo "<html>\n";
echo " \n";
echo " <head>\n";
echo " <title>\n";
echo " 高清网络电视 | 网络驿站\n";
echo " </title>\n";
echo " <meta http-equiv=Content-Type content=text/html;charset=utf-8>\n";
echo " <meta name=\"Keywords\" content=\"网络电视\" />\n";
echo " <meta name=\"description\" content=\"高清网络电视\" />\n";
echo " <style type=\"text/css\">\n";
echo " .player{width:960px;height:520px;}\n";
echo " </style>\n";
echo " </head>\n";
echo " \n";
echo " <BODY>\n";
echo " <script type=\"text/javascript\" src=\"js/navbar.js\">\n";
echo " </script>\n";
echo " <header class=\"jumbotron subhead\">\n";
echo " <div class=\"container\">\n";
echo " <h2>\n";
echo " 在线直播\n";
echo " </h2>\n";
echo " <p>\n";
echo " 在线看直播,覆盖全国各大电视频道\n";
echo " </p>\n";
echo " </div>\n";
echo " </header>\n";
echo " <div class=\"player center-block\">\n";
echo " <iframe src=\"http://live.64ma.com/tv/live.html\" width='960px' height='520px'\n";
echo " frameborder=\"0\" marginheight=\"0\" scrolling=\"no\">\n";
echo " </iframe>\n";
echo " </div>\n";
echo " </BODY>\n";
echo "</HTML>\n";
} else {
echo "<html>\n";
echo " <head>\n";
echo " <meta charset=\"utf-8\"/>\n";
echo " <meta name=\"renderer\" content=\"webkit\"><!-- 360浏览器默认用极速核(webkit) -->\n";
echo " <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\"><!--避免IE使用兼容模式-->\n";
echo " <meta name=\"keywords\" content=\"\"/>\n";
echo " <meta name=\"description\" content=\"\"/>\n";
echo " <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, minimal-ui\"/>\n";
echo " <meta name=\"screen-orientation\" content=\"portrait\"><!-- UC强制竖屏 -->\n";
echo " <meta name=\"x5-orientation\" content=\"portrait\"/><!-- QQ强制竖屏 -->\n";
echo " <meta name=\"full-screen\" content=\"yes\"><!-- UC强制全屏 -->\n";
echo " <meta name=\"x5-fullscreen\" content=\"true\"/><!-- QQ强制全屏 -->\n";
echo " <meta name=\"browsermode\" content=\"application\"/><!-- UC应用模式 -->\n";
echo " <meta name=\"x5-page-mode\" content=\"app\"/><!-- UC应用模式 -->\n";
echo " <meta name=\"format-detection\" content=\"telephone=no\"/>\n";
echo " <meta name=\"apple-mobile-web-app-capable\" content=\"yes\"/>\n";
echo " <meta name=\"msapplication-tap-highlight\" content=\"no\"/><!-- windows phone 点击无高光 -->\n";
echo " <title>\n";
echo " 网络驿站\n";
echo " </title>\n";
echo "<link href=\"css/mstyle.css\" rel=\"stylesheet\">\n";
echo " </head>\n";
echo " <body>\n";
echo " <div class=\"top\">\n";
echo " <div class=\"container-fluid\">\n";
echo " <a href=\"/\"><img src=\"images/logow.svg\" width=\"165\" height=\"50\"></a>\n";
echo " </div>\n";
echo " </div>\n";
echo " <div class=\"container-fluid\">\n";
echo "<p>抱歉!本页面暂不支持手机端浏览。</p>\n";
echo "<p>您可以点击左上角的图标返回首页。</p>\n";
echo " </div>\n";
echo " </body>\n";
echo "</html>\n";
}?>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/leililei/wlyz.git
git@gitee.com:leililei/wlyz.git
leililei
wlyz
wlyz
V3

搜索帮助