Esempio n. 1
0
File: showjob.php Progetto: nanfs/lt
}
$job = $db->get_one("select * from {$met_job} where id='{$id}' and lang='{$lang}'");
if (!$job) {
    okinfo('../404.html');
    exit;
}
$job[useful_life_a] = $job[useful_life];
if (intval($job[useful_life]) == 0) {
    $job[useful_life] = $lang_Nolimit;
}
$classaccess = $db->get_one("SELECT * FROM {$met_column} WHERE module='6' and lang='{$lang}'");
$class1 = $classaccess[id];
$metaccess = $job[access];
require_once '../include/head.php';
$guanlian = $class_list[$class1][releclass];
$job[content] = contentshow('<div>' . $job[content] . '</div>');
$job[cv] = $met_pseudo ? 'jobcv-' . $job[id] . '-' . $lang . '.html' : $cv[url] . $job[id];
$job[count] = $job[count] ? $job[count] : $lang_several;
$class1_info = $class_list[$class1][releclass] ? $class_list[$class_list[$class1][releclass]] : $class_list[$class1];
$class2_info = $class_list[$class1][releclass] ? $class_list[$class1] : $class_list[$class2];
if ($dataoptimize[$pagemark][nextlist]) {
    if ($met_member_use == 2) {
        $prejob = $db->get_one("select * from {$met_job} where lang='{$lang}' and (access<='{$metinfo_member_type}') and id > '{$id}' limit 0,1");
        $nextjob = $db->get_one("select * from {$met_job} where lang='{$lang}' and (access<='{$metinfo_member_type}') and id < '{$id}' order by id desc limit 0,1");
    } else {
        $prejob = $db->get_one("select * from {$met_job} where lang='{$lang}' and id > '{$id}' limit 0,1");
        $nextjob = $db->get_one("select * from {$met_job} where lang='{$lang}' and id < '{$id}' order by id desc limit 0,1");
    }
}
if ($dataoptimize[6][otherlist]) {
    $serch_sql = " where lang='{$lang}' ";
Esempio n. 2
0
File: showmod.php Progetto: nanfs/lt
        } else {
            $tagstr .= "&nbsp<a href=\"../search/search.php?class1=&class2=&class3=&searchtype=0&searchword={$urlval}&lang={$lang}\" target=\"_blank\">{$val}</a>";
        }
    }
    $class_concent .= $tagstr . '</span>';
}
$news['content'] .= $class_concent;
$news['content1'] .= $class_concent;
$news['content2'] .= $class_concent;
$news['content3'] .= $class_concent;
$news['content4'] .= $class_concent;
$news['content'] = contentshow('<div>' . $news['content'] . '</div>');
$news['content1'] = contentshow('<div>' . $news['content1'] . '</div>');
$news['content2'] = contentshow('<div>' . $news['content2'] . '</div>');
$news['content3'] = contentshow('<div>' . $news['content3'] . '</div>');
$news['content4'] = contentshow('<div>' . $news['content4'] . '</div>');
$news['url'] = request_uri();
if ($metinfonow == $met_member_force and $met_webhtm) {
    $html_filenamex = str_replace("\\", '', $html_filename);
    $html_filenamex = unescape($html_filenamex);
    $news['url'] = $met_weburl . $class_list[$class1]['foldername'] . '/' . $html_filenamex . $met_htmtype;
}
if ($pagemark == 3 || $pagemark == 5) {
    if ($news['displayimg'] != '') {
        $displayimg = explode('|', $news['displayimg']);
        $pg = count($displayimg);
        for ($i = 0; $i < $pg; $i++) {
            $newdisplay = explode('*', $displayimg[$i]);
            $displaylist[$i]['title'] = $newdisplay[0];
            $displaylist[$i]['imgurl'] = $newdisplay[1];
            $imgurl_diss = explode('/', $displaylist[$i]['imgurl']);
Esempio n. 3
0
if (!$show || !$show['isshow']) {
    okinfo('../404.html');
}
$metaccess = $show[access];
if ($show[classtype] == 3) {
    $show3 = $db->get_one("SELECT * FROM {$met_column} WHERE id='{$show['bigclass']}'");
    $class1 = $show3[bigclass];
    $class2 = $show[bigclass];
    $class3 = $show[id];
} else {
    $class1 = $show[bigclass] ? $show[bigclass] : $id;
    $class2 = $show[bigclass] ? $id : "0";
    $class3 = 0;
}
require_once '../include/head.php';
$class1_info = $class_list[$class1];
$class1_list = $class1_info;
$class2_info = $class_list[$class2];
$class3_info = $class_list[$class3];
$show[content] = contentshow('<div>' . $show[content] . '</div>');
$show[description] = $show[description] ? $show[description] : $met_description;
$show[keywords] = $show[keywords] ? $show[keywords] : $met_keywords;
$met_title = $met_title ? $show['name'] . '-' . $met_title : $show['name'];
if ($show['ctitle'] != '') {
    $met_title = $show['ctitle'];
}
require_once '../public/php/methtml.inc.php';
include template('show');
footer();
# This program is an open source system, commercial use, please consciously to purchase commercial license.
# Copyright (C) MetInfo Co., Ltd. (http://www.metinfo.cn). All rights reserved.