/* 表名:财经名词解释 sp_t255 字段说明: 财经名词 sp_f5743 英文缩写 sp_f5744 同义词(多同义词用半角逗号隔开) sp_f5745 名词解释 sp_f5746 拼音 sp_f5748 所属专题手动输入 sp_f5803 所属专题手动输入链接 sp_f5804 所属新专题选择 sp_f5805 分类 sp_f5848 搜索: 财经名词:sp_f5743 参数:sp_n 英文缩写:sp_f5744 参数:sp_e 名词解释:sp_f5746 参数:sp_ne 拼音: sp_f5748 参数:sp_ns 拼音首字母 sp_f5748 参数:sp_nf 牛市 Bull Market 大宗交易 Block trade 借壳上市 Back Door Listing $sp_n = "牛市"; $sp_e = "Block trade"; $sp_ne = "中央企业"; */ header("Location:http://finance.sina.com.cn/"); require_once("_db.php"); define("PAGE_COUNT",10); $db = &get_db($_SERVER['SINASRV_DB_USER_R'],$_SERVER['SINASRV_DB_PASS_R'],$_SERVER['SINASRV_DB_HOST_R'].":".$_SERVER['SINASRV_DB_PORT_R'],$db_name); //获得参数 $page = intval($_REQUEST['page']); $para = ""; if (($sp_n = $_REQUEST["sp_n"]) != null) { $para = "&sp_n=".$sp_n; $name_select_str = "select sp_f5743,sp_f5744,sp_f5746,url_1,sp_f5848 from sp_t255 where sp_f5743 = '".mysql_real_escape_string($sp_n)."' order by sp_f5748 limit ".$page*PAGE_COUNT.",".(PAGE_COUNT+1); }else if (($sp_e = $_REQUEST["sp_e"]) != null) { $para = "&sp_e=".$sp_e; $name_select_str = "select sp_f5743,sp_f5744,sp_f5746,url_1,sp_f5848 from sp_t255 where sp_f5744 = '".mysql_real_escape_string($sp_e)."' order by sp_f5748 limit ".$page*PAGE_COUNT.",".(PAGE_COUNT+1); }else if (($sp_ne = $_REQUEST["sp_ne"]) != null) { $para = "&sp_ne=".$sp_ne; $name_select_str = "select sp_f5743,sp_f5744,sp_f5746,url_1,sp_f5848 from sp_t255 where sp_f5746 like '%".mysql_real_escape_string($sp_ne)."%' order by sp_f5748 limit ".$page*PAGE_COUNT.",".(PAGE_COUNT+1); }else if (($sp_ns = $_REQUEST["sp_ns"]) != null) { if (strlen($sp_ns) == 1) { $para = "&sp_nf=".$sp_nf; $name_select_str = "select sp_f5743,sp_f5744,sp_f5746,url_1,sp_f5848 from sp_t255 where sp_f5748 like '".mysql_real_escape_string($sp_ns)."%' order by sp_f5748 limit ".$page*PAGE_COUNT.",".(PAGE_COUNT+1); } else { $para = "&sp_ns=".$sp_ns; $name_select_str = "select sp_f5743,sp_f5744,sp_f5746,url_1,sp_f5848 from sp_t255 where sp_f5748 = '".mysql_real_escape_string($sp_ns)."' order by sp_f5748 limit ".$page*PAGE_COUNT.",".(PAGE_COUNT+1); } }else if (($sp_nf = $_REQUEST["sp_nf"]) != null) { $para = "&sp_nf=".$sp_nf; $name_select_str = "select sp_f5743,sp_f5744,sp_f5746,url_1,sp_f5848 from sp_t255 where sp_f5748 like '".mysql_real_escape_string($sp_ns)."%' order by sp_f5748 limit ".$page*PAGE_COUNT.",".(PAGE_COUNT+1); } else { exit; } //查找数据库 $select_result = $db->query($name_select_str); if (!DB::isError($select_result)) { $rows_count = $select_result->numRows(); if ($rows_count >= 0) { ?>
财经名词 | 英文名词 | 内容简介 | 项目(投资,证券) |
=$show_5743?> | =$row['sp_f5744']?> | =$show_5746?> | =$row["sp_f5848"]?> |
=$show_td?> |