<?php

echo read_page("SANTO", $this->controller, $dados, $this->module);
Example #2
0
<?php

echo read_page("DIAS", $this->controller, $dados, $this->module);
Example #3
0
if (file_exists($success_log)) {
    $down = file($success_log);
}
//获得标签目录
$tags_dir = get_file($tags_index);
$total = count($tags_dir);
foreach ($tags_dir as $key => $val) {
    //if($key > 0 ) break;
    $path = $tags_index . $val . '/';
    $pages = get_file($path);
    foreach ($pages as $k => $v) {
        if ($v == 'pages.txt') {
            continue;
        }
        $page_file = $path . $v;
        $tmp = read_page($page_file);
        //var_dump($tmp);
        foreach ($tmp as $pic) {
            if (isset($down[$pic['filename']])) {
                continue;
            }
            //下载大图
            $source = $pic['src'];
            if ($pos = strripos($pic['filename'], '.jpg')) {
                $dest = $pic_dir . substr($pic['filename'], 0, $pos + 4);
            } else {
                if ($pos = strripos($pic['filename'], '.jpeg')) {
                    $dest = $pic_dir . substr($pic['filename'], 0, $pos + 5);
                } else {
                    if ($pos = strripos($pic['filename'], '.png')) {
                        $dest = $pic_dir . substr($pic['filename'], 0, $pos + 4);
<?php

echo read_page("CIDADES", $this->controller, $dados, $this->module);
<?php

echo read_page("LITURGIA", $this->controller, $dados, $this->module);
<?php

echo read_page("ESTADOS", $this->controller, $dados, $this->module);
<?php

echo read_page("PROGRAMAS", $this->controller, $dados, $this->module);
<?php

echo read_page("COISAS DE FRANCISCO", $this->controller, $dados, $this->module);
<?php

echo read_page("PENSE", $this->controller, $dados, $this->module);