Esempio n. 1
0
function batchReplaceL($content, $str)
{
    $splstr = '';
    $s = '';
    $i = '';
    $splstr = aspSplit($str, '|*|');
    for ($i = 0; $i <= uBound($splstr); $i++) {
        $s = $splstr[$i];
        if ($s != '') {
            $content = replaceL($content, $s);
        }
    }
    $batchReplaceL = $content;
    return @$batchReplaceL;
}
Esempio n. 2
0
function getMsg1($msgStr, $url)
{
    $content = '';
    $content = getFText(ROOT_PATH . 'msg.html');
    $msgStr = $msgStr . '<br>' . jsTiming($url, 5);
    $content = replace($content, '[$msgStr$]', $msgStr);
    $content = replace($content, '[$url$]', $url);
    $content = replaceL($content, '提示信息');
    $content = replaceL($content, '如果您的浏览器没有自动跳转,请点击这里');
    $content = replaceL($content, '倒计时');
    $getMsg1 = $content;
    return @$getMsg1;
}