Exemplo n.º 1
0
		<!-- The jPlayer div must not be hidden. Keep it at the root of the body element to avoid any such problems. -->
		<div id="jquery_jplayer_1" class="cp-jplayer"></div>
		<!-- The container for the interface can go where you want to display it. Show and hide it as you need. -->
		<div data-theme="d" data-role="header"><h3><?php 
echo $web_title;
?>
</h3></div>
		<div id="cp_container_1" class="cp-container">
			<div class="cp-buffer-holder"> <!-- .cp-gt50 only needed when buffer is > than 50% -->
				<div class="cp-buffer-1"></div>
				<div class="cp-buffer-2"></div>
			</div>
			<div class="cp-progress-holder"> <!-- .cp-gt50 only needed when progress is > than 50% -->
				<div class="cp-progress-1"></div>
				<div class="cp-progress-2"></div>
			</div>
			<div class="cp-circle-control"></div>
			<ul class="cp-controls">
				<li><a href="#" class="cp-play" tabindex="1">play</a></li>
				<li><a href="#" class="cp-pause" style="display:none;" tabindex="1">pause</a></li> <!-- Needs the inline style here, or jQuery.show() uses display:inline instead of display:block -->
			</ul>
		</div>
<?php 
echo '<div class="desc">歌手:<a href="singer.php?id=' . $sid . '" class="alume">' . $singer . '</a></div>';
echo '<div class="desc">专辑:<a href="alume.php?id=' . $aid . '" class="alume">' . $alume . '</a></div>';
echo '<div class="ui-grid-a"><div class="ui-block-a"><a data-role="button" href="' . $mp3 . '">下载歌曲</a></div><div class="ui-block-b"><a data-role="button" href="#" onclick="javascript:window.location.href=\'music.php\';">下一首</a></div></div>';
if (User::isAdmin()) {
    echo '<a style="display:block;clear:left;" href="#" onclick="delMusic(' . $id . ')">删除</a>';
}
echo '</div></center></body><script type="text/javascript" language="javascript" src="/include/googleanalysis.js"></script>' . getWechatShareScript(ROOT_WEB_URL . 'music/music.php?id=' . $id, $web_title, $pic) . '</html>';
Exemplo n.º 2
0
function gotoend()
{
    global $mode;
    global $isjson;
    global $date;
    global $stuff_mass;
    global $stuff_med;
    global $stuff_comp;
    global $stuff_let;
    global $stuff_lod;
    global $stuff_thought;
    global $stuff_ordo;
    global $stuff_ves;
    global $stuff_saint;
    global $trimedUtf8;
    $ret["mass"] = $stuff_mass;
    $ret["med"] = $stuff_med;
    $ret["comp"] = $stuff_comp;
    $ret["let"] = $stuff_let;
    $ret["lod"] = $stuff_lod;
    $ret["thought"] = '<audio id="audio" src="' . 'http://media.cathassist.org/thought/mp3/' . $date->format('Y-m-d') . '.mp3" controls>反省(' . $date->format('Y-m-d') . ')</audio>' . $stuff_thought;
    $ret["ordo"] = $stuff_ordo;
    $ret["ves"] = $stuff_ves;
    $ret["saint"] = $stuff_saint;
    if ($isjson > 0) {
        $ret = json_encode($ret);
        if ($isjson == 2) {
            echo $_GET['callback'] . '(' . $ret . ')';
            die;
        }
    } else {
        $ret = '<mass>' . htmlspecialchars($stuff_mass, ENT_QUOTES) . '</mass><med>' . htmlspecialchars($stuff_med, ENT_QUOTES) . '</med><comp>' . htmlspecialchars($stuff_comp, ENT_QUOTES) . '</comp><let>' . htmlspecialchars($stuff_let, ENT_QUOTES) . '<let><lod>' . htmlspecialchars($stuff_lod, ENT_QUOTES) . '</lod><thought>' . htmlspecialchars($stuff_thought, ENT_QUOTES) . '</thought><ordo>' . htmlspecialchars($stuff_ordo, ENT_QUOTES) . '</ordo><ves>' . htmlspecialchars($stuff_ves, ENT_QUOTES) . '</ves><saint>' . htmlspecialchars($stuff_saint, ENT_QUOTES) . '</saint>';
    }
    $ret = str_replace($trimedUtf8, "", $ret);
    if ($mode != "") {
        $json = json_decode($ret, true);
        $content = convert_html_to_text($json[$mode]);
        $title = str_replace(PHP_EOL, ' ', mb_substr($content, 0, 20, "UTF-8"));
        echo '<head><meta name="viewport" content="user-scalable=no, width=device-width"/><meta http-equiv=Content-Type content="text/html;charset=utf-8"><title>' . $title . '</title>
		<link href="/css/stuff.css" type="text/css" rel="stylesheet"></head><html><body>';
        if ($mode == "lod") {
            $lod_all = $json[$mode];
            $index_h2 = strpos($lod_all, "</h2>", 0);
            if ($index_h2 > 4 and $index_h2 < 128) {
                $lod_first = "<p><strong>序经</strong><br><strong>领</strong>:上主,求祢开启我的口。<br><strong>答</strong>:我的口要赞美祢。</p><p><strong>对经</strong>:基督是牧者们的首领,请大家前来朝拜祂,阿肋路亚。</p><p>请大家前来,向上主欢呼,<br>向拯救我们的磐石歌舞。<br>一齐到祂面前感恩赞颂,<br>向祂歌唱圣诗,欢呼吟咏。<br><strong>对经</strong>:基督是牧者们的首领,请大家前来朝拜祂,阿肋路亚。</p><p>因为上主是崇高的天主,<br>是超越诸神的伟大君王;<br>大地深渊都在祂的手中,<br>高山峻岭都是祂的化工,<br>海洋属于祂,因为是祂所创造,<br>陆地属于祂,因为是祂所形成。<br><strong>对经</strong>:基督是牧者们的首领,请大家前来朝拜祂,阿肋路亚。</p><p>请大家前来叩首致敬,<br>向造我们的天主跪拜,<br>因为祂是我们的天主,<br>我们是祂牧养的子民,<br>是祂亲手领导的羊羣。<br><strong>对经</strong>:基督是牧者们的首领,请大家前来朝拜祂,阿肋路亚。</p><p>你们今天要听从祂的声音,<br>不要像在默黎巴那样心硬,<br>不要像在旷野中玛撒那天,<br>你们的祖先看到我的工作,<br>在那里仍然试探我,考验我。<br><strong>对经</strong>:基督是牧者们的首领,请大家前来朝拜祂,阿肋路亚。</p><p>我四十年之久厌恶那一世代,<br>我曾说:这个民族冥顽不灵,<br>他们不肯承认我的道路;<br>因此,我在盛怒之下起誓说:<br>他们绝不得进入我的安居之所。<br><strong>对经</strong>:基督是牧者们的首领,请大家前来朝拜祂,阿肋路亚。</p><p>愿光荣归于父、及子、及圣神。<br>起初如何,今日亦然,直到永远。阿们。<br><strong>对经</strong>:基督是牧者们的首领,请大家前来朝拜祂,阿肋路亚。</p>";
                $index_h2 = $index_h2 + 5;
                echo substr($lod_all, 0, $index_h2) . $lod_first . substr($lod_all, $index_h2);
            } else {
                echo $lod_all;
            }
        } else {
            if ($mode == "thought") {
                echo $json[$mode];
            } else {
                echo $json[$mode];
            }
        }
        $imgurl = ROOT_WEB_URL . "wechat/pics/" . $mode . "1.jpg";
        $link = ROOT_WEB_URL . 'getstuff/stuff/' . $_GET["date"] . '_' . $mode . '.html';
        echo '</body><script type="text/javascript" language="javascript" src="/include/googleanalysis.js"></script>' . getWechatShareScript($link, $title, $imgurl) . '</html>';
    } else {
        echo $ret;
    }
    die;
}
Exemplo n.º 3
0
} else {
    while ($row = mysql_fetch_array($result)) {
        echo '<div class="css_div_class"><span  style="width:100%">昵称:' . $row['name'] . '  时间:' . date('Y-m-d H:i', strtotime($row['createtime']) + 3600 * 8) . '</span><p>' . nl2br($row['text']) . '</p></div>';
    }
}
?>
<hr/>
<p><strong>提交你的代祷意向:</strong></p>
<form action="update.php" method="post">
	<label for="input_name" style="width:100px;">昵称:</label><input name="name" id="input_name" type="text" value="<?php 
if (isset($_SESSION['name'])) {
    echo $_SESSION['name'];
} else {
    echo '匿名';
}
?>
"></input>
	<br/>
	<p>代祷内容:</p>
	<textarea id="input_text" name="text" style="width:100%; height:80px" placeholder="在此输入你的代祷意向,然后点击提交"></textarea><br/>
	</p>
	<p>验证码:<input name="cap" id="input_cap" type="text" maxlength="4" /><img src="/include/captcha/code_math.php" id="getcode_math" title="看不清,点击换一张" align="absmiddle"/></p>
	<div align="center"><a href="#" class="css_btn_class" onclick="postText()">提交</a></div>
</form>
</body>
<script type="text/javascript" language="javascript" src="/include/googleanalysis.js"></script>
<?php 
require_once "../include/define.php";
echo getWechatShareScript(ROOT_WEB_URL . 'pray/index.php', '代祷本——天主教小助手', ROOT_WEB_URL . 'pray/icon.png');
?>
</html>
Exemplo n.º 4
0
<html>
<head>
<title>梵蒂冈广播电台——天主教小助手</title>
<meta http-equiv=Content-Type content="text/html;charset=utf-8">
<meta name="viewport" content="user-scalable=no, width=device-width" />
<link rel="stylesheet" type="text/css" href="vaticanradiowebcast_cn.css"/>
</head>
<body>
<center>
	<h2>梵蒂冈广播电台</h2>
	<h3>中文广播</h3>
	<audio src="http://media.vaticanradiowebcast.org/mp3_od/cinese_1.mp3" controls></audio>
	
	<h3>English News(morning)</h3>
	<audio src="http://media.vaticanradiowebcast.org/mp3_od/rg_inglese_1_1.mp3" controls></audio>
	
	<h3>English News(evening)</h3>
	<audio src="http://media.vaticanradiowebcast.org/mp3_od/rg_inglese_2_1.mp3" controls></audio>
	
	<h3>主日弥撒</h3>
	<audio src="http://media.vaticanradiowebcast.org/mp3_od/messa_cinese_1.mp3" controls></audio>
	<br/><h3><b>提示:播放音频会损耗较多流量</b></h3>
</div>
</center>
</body>
<script type="text/javascript" language="javascript" src="/include/googleanalysis.js"></script>
<?php 
require_once "../include/define.php";
echo getWechatShareScript(ROOT_WEB_URL . 'media/vaticanradiowebcast_cn.php', '梵蒂冈广播电台', ROOT_WEB_URL . 'media/icon.jpg');
?>
</html>