-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
285 lines (266 loc) · 15.6 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<title>CCB news online- 加华财经门户,加拿大财经 加拿大上市公司资讯 证券外汇市场分析评论</title>
<meta name="keywords" content="加华财经在线 加拿大财经 加拿大上市公司资讯 证券外汇市场分析评论">
<link rel="shortcut icon" href="../statics/images/favicon.ico">
<meta name="description" content="加华财经在线,加拿大财经, 中文网, 加拿大上市公司资讯 证券外汇市场分析评论">
<link href="../../statics/css/main.css" rel="stylesheet" type="text/css" />
<link href="../../statics/css/main_ccb.css" rel="stylesheet" type="text/css" />
<link href="../../statics/css/leftnav.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../../statics/js/jquery.min.js"></script>
<script type="text/javascript" src="../../statics/js/jquery.sgallery.js"></script>
<script type="text/javascript" src="../../statics/js/search_common.js"></script>
<style type="text/css">
.sub {
background: url(../statics/images/btn_01.jpg) no-repeat;
width: 78px;
height: 23px;
border: 0px;
}
.ht_top_search {
border: #c9c9c9 1px solid;
width: 215px;
border-right: none;
height: 19px;
}
</style>
</head>
<body>
<script type="text/javascript">
document.write('<iframe src="../../TitalTimeBar.html" allowTransparency="true" rel="nofollow" width="1002" height="40" frameborder="0" scrolling="no"></iframe>')
</script>
<?php
include "../../php/ccb_drupal.php";
include "../../php/ccb_news.php";
$cat = "";
if(isset($_GET["cat"]))
$cat = $_GET['cat'];
else
$cat = "bmgs";
$contentArray = array("bmgs"=>"070101_BMGS",
"qhqq"=>"070201_QHQQ",
"whtz"=>"070301_WHTZ",
"bmipo"=>"070401_BMIPO",
"jrsys"=>"070901_JRSYS",
"jypx"=>"070501_JYPX",
"zxfw"=>"070601_ZXFW",
"qqmnjy"=>"070701_QQMNJY",
"qqzxjy"=>"070801_QQZXJY");
$conn = ccb_drupal_connect();
// Querying
$dataJRDJT = ccb_drupal_query_page_by_category('070102_JRDJT', 6, $conn);
$dataMJZL = ccb_drupal_query_page_by_category('070202_MJZL', 6, $conn);
$dataContent = ccb_drupal_query_page_by_category($contentArray[$cat], 12, $conn);
// Finance lab introduction
$financeLabPage = ccb_drupal_query_page_by_category('070901_JRSYS', 1, $conn);
// Close
ccb_drupal_close($conn);
$classStyle = "class='pagexz'";
$category = array("bmgs"=>"", "qhqq"=>"", "whtz"=>"", "bmipo"=>"", "jypx"=>"", "zxfw"=>"", "jrsys"=>"", "qqmnjy"=>"", "qqzxjy"=>"");
$href = array("bmgs"=>"index.php?cat=bmgs",
"qhqq"=>"index.php?cat=qhqq",
"whtz"=>"index.php?cat=whtz",
"bmipo"=>"index.php?cat=bmipo",
"jypx"=>"index.php?cat=jypx",
"zxfw"=>"index.php?cat=zxfw",
"jrsys"=>"index.php?cat=jrsys",
"qqmnjy"=>"index.php?cat=qqmnjy",
"qqzxjy"=>"index.php?cat=qqzxjy");
if($cat == "bmgs")
{
$category["bmgs"] = $classStyle;
}
elseif ($cat == "qhqq")
{
$category["qhqq"] = $classStyle;
}
elseif ($cat == "whtz")
{
$category["whtz"] = $classStyle;
}
elseif ($cat == "bmipo")
{
$category["bmipo"] = $classStyle;
}
elseif ($cat == "jypx")
{
$category["jypx"] = $classStyle;
}
elseif ($cat == "zxfw")
{
$category["zxfw"] = $classStyle;
}
elseif ($cat == "jrsys")
{
$category["jrsys"] = $classStyle;
}
elseif ($cat == "qqmnjy")
{
$category["qqmnjy"] = $classStyle;
}
elseif ($cat == "qqzxjy")
{
$category["qqzxjy"] = $classStyle;
}
else
{
$category["bmgs"] = $classStyle;
}
?>
<iframe width="1002" scrolling="no" height="2" frameborder="0" rel="nofollow" allowtransparency="true" ></iframe>
<div class="top_t">
<div class="ht_logo"><img alt="加华财经" src="../../statics/images/logo.jpg" style="border:1px solid blue" /></div>
<div class="ht_top_r">
<form action="index.php" method="get" target="_blank" >
<input type="hidden" name="m" value="search"/>
<input type="hidden" name="c" value="index"/>
<input type="hidden" name="a" value="init"/>
<input type="hidden" name="typeid" value="1" id="typeid"/>
<input type="hidden" name="siteid" value="1" id="siteid"/>
<table width="290" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><input class="ht_top_search" name="q" type="text" value="" /></td>
<td><input name="" type="SUBMIT" class="sub" value="" style="cursor:hand;"/></td>
</tr>
</table>
</form>
</div>
</div>
<div class="ht_daohang">
<div class="ht_menu">
<ul>
<li><a href="../index.html" class="menuxuanzhong"><span class="zw">首页</span><br /><span class="yw">Homepage</span></a></li>
<li class="line"></li>
<li><a href="../html/financialnews.html" ><span class="zw">财经要闻</span><br /><span class="yw">Business News</span></a></li>
<li class="line"></li>
<li><a href="../marketwatch" ><span class="zw">金融市场</span><br /><span class="yw">Financial Market</span></a></li>
<li class="line"></li>
<li><a href="../html/listedcompanies.html" ><span class="zw">上市公司</span><br /><span class="yw">Market Watch</span></a></li>
<li class="line"></li>
<li><a href="../businessinvestment" ><span class="zw">项目投资</span><br /><span class="yw">Business Investment</span></a></li>
<li class="line"></li>
<li><a href="../html/bridgetochina.html" ><span class="zw">加中连线</span><br /><span class="yw">bridge to china</span></a></li>
<li class="line"></li>
<li><a href="../financestudying" ><span class="zw">金融学堂</span><br /><span class="yw">Finance Satuding</span></a></li>
<li class="line"></li>
<li><a href="../html/ccbindustryfocus.html" ><span class="zw">加华财经论坛</span><br /><span class="yw">CCB Industry Focus</span></a></li>
</ul>
</div>
</div>
<div class="gshq_content" style="float:left; width:200px;">
<div class="gshq_left" style="height:540px">
<ul class="fllist3">
<li class="leftnav_menu_category"><a>金融学堂</a></li>
<li <?php echo $category["bmgs"]; ?>><a href="<?php echo $href["bmgs"]; ?>"> 北美股市</a></li>
<li <?php echo $category["qhqq"]; ?>><a href="<?php echo $href["qhqq"]; ?>"> 期货期权</a></li>
<li <?php echo $category["whtz"]; ?>><a href="<?php echo $href["whtz"]; ?>"> 外汇投资</a></li>
<li <?php echo $category["bmipo"]; ?>><a href="<?php echo $href["bmipo"]; ?>"> 北美IPO</a></li>
<li <?php echo $category["jypx"]; ?>><a style="font-size: 16px; font-weight: bold" href="<?php echo $href["jypx"]; ?>">教育培训</a></li>
<li <?php echo $category["zxfw"]; ?>><a style="font-size: 16px; font-weight: bold" href="<?php echo $href["zxfw"]; ?>">咨询服务</a></li>
<li <?php echo $category["jrsys"]; ?>><a style="font-size: 16px; font-weight: bold" href="<?php echo $href["jrsys"]; ?>">金融实验室</a></li>
<li <?php echo $category["qqmnjy"]; ?>><a href="<?php echo $href['qqmnjy']; ?>">全球金融市场模拟交易</a></li>
<li <?php echo $category["qqzxjy"]; ?>><a href="<?php echo $href['qqzxjy']; ?>">全球金融市场在线交易</a></li>
</ul>
</div>
</div>
<div class="ht_content_market">
<div style="width:100%; padding:20px 0px;">
<ul class="newslist" style="margin-top:10px;">
<?php
if($cat == "jrsys")
{
$flp = mysql_fetch_array($financeLabPage);
// title
Print "<div class='tit4'><span>".$flp['title']."</span></div>";
Print "<br/>";
// body
Print "<div class='content_detail'>";
Print "<span style='font-size: 14px'><span style='font-family: 宋体'>".nl2br($flp['body_value'])."</span></span><br>";
Print "</div>";
}
else
{
ccb_news_output_list_v1($dataContent);
}
?>
</ul>
</div>
</div>
<div class="ht_shichangzongshu">
<div class="tit" style="margin-top:7px;"><span class="tit_more"><a href="./course">更多>></a></span><span class="tit_name">金融大讲堂(视频)</span></div>
<ul class="newslist" style="margin-top:10px;">
<?php
ccb_news_output_list_v2($dataJRDJT, 'course');
?>
</ul>
<div style="margin-top:7px;"><span class="tit_more"><a <!--href="./course/getin.php"-->>点击进入>></a></span></div>
</div>
<div class="ht_caopanbidu">
<div class="tit" style="margin-top:7px;"><span class="tit_more"><a href="./experts">更多>></a></span><span class="tit_name">名家专栏</span></div>
<ul class="newslist" style="margin-top:10px;">
<?php
ccb_news_output_list_v2($dataMJZL, 'experts');
?>
</ul>
<div style="margin-top:7px;"><span class="tit_more"><a <!--href="./experts/getin.php"-->>点击进入>></a></span></div>
</div>
<div class="friendLine" style="margin-bottom:0px;">
<div class="tit" style="margin-top:7px;"><span class="tit_name"><a href="#">友情链接</a></span></div>
<div class="jt"><a href="#"><img alt="合作伙伴" src="http://www.acbnewsonline.com.au/statics/images/icon_05.jpg" /></a></div>
<ul>
<li><a href="http://www.friendline1.com/" target="_blank"><img src="../../statics/images/friends/friend_0.jpg" alt="网易财经" width="130" height="40" /></a></li>
<li><a href="http://www.friendline1.com/" target="_blank"><img src="../../statics/images/friends/friend_0.jpg" alt="网易财经" width="130" height="40" /></a></li>
<li><a href="http://www.friendline1.com/" target="_blank"><img src="../../statics/images/friends/friend_0.jpg" alt="网易财经" width="130" height="40" /></a></li>
<li><a href="http://www.friendline1.com/" target="_blank"><img src="../../statics/images/friends/friend_0.jpg" alt="网易财经" width="130" height="40" /></a></li>
<li><a href="http://www.friendline1.com/" target="_blank"><img src="../../statics/images/friends/friend_0.jpg" alt="网易财经" width="130" height="40" /></a></li>
<li><a href="http://www.friendline1.com/" target="_blank"><img src="../../statics/images/friends/friend_0.jpg" alt="网易财经" width="130" height="40" /></a></li>
<li><a href="http://www.friendline1.com/" target="_blank"><img src="../../statics/images/friends/friend_0.jpg" alt="网易财经" width="130" height="40" /></a></li>
</ul>
<div class="jt"><a href="#"><img alt="合作伙伴" src="http://www.ccbnewsonline.com.au/statics/images/icon_06.jpg" /></a></div>
</div>
<div style="margin-bottom:10px;width:1002px;">
<a href="http://www.austrade.gov.au/" title="加拿大投资署" target="_blank">加拿大投资署</a>
<a href="http://www.firb.gov.au/content/default.asp" title="加拿大外商投资审查委员会" target="_blank">加拿大外商投资审查委员会</a>
<a href="http://www.asic.gov.au/asic/asic.nsf" title="加拿大证券投资委员会" target="_blank">加拿大证券投资委员会</a>
<a href="http://www.sydneyaustralia.com/cn/doing-business-in-sydney" title="投资悉尼" target="_blank">投资悉尼</a>
<a href="http://www.trade.nsw.gov.au/" title="西南威尔士贸易投资部" target="_blank">西南威尔士贸易投资部</a>
<a href="http://www.abs.gov.au/" title="加拿大统计局" target="_blank">加拿大统计局</a>
<a href="http://www.australia.com " title="加拿大旅游局" target="_blank">加拿大旅游局</a>
<a href="http://www.rba.gov.au/" title="加拿大联邦储备银行" target="_blank">加拿大联邦储备银行</a>
<a href="http://www.auschinamine.com.au/" title="澳中矿业网" target="_blank">加中矿业网</a>
<a href="http://www.asx.com.au/" title="加拿大证券交易所" target="_blank">加拿大证券交易所</a>
<a href="http://www.ausmine.com/" title="加拿大矿业网" target="_blank">加拿大矿业网</a>
<a href="http://australianbusinessforum.com.au/" title="ABF 加拿大商务论坛" target="_blank">ABF 加拿大商务论坛</a>
<a href="http://www.cityofsydney.nsw.gov.au/" title="多伦多市政厅" target="_blank">多伦多市政厅</a>
<a href="http://sydney.mofcom.gov.cn/" title="中国驻多伦多总领馆商务室" target="_blank">中国驻多伦多总领馆商务室</a>
<a href="http://melbourne.mofcom.gov.cn/" title="中国驻渥太华总领馆商务室" target="_blank">中国驻渥太华总领馆商务室</a>
<a href="http://perth.mofcom.gov.cn/" title="中国温哥华总领馆商务室" target="_blank">中国温哥华总领馆商务室</a>
</div>
<div class="ht_foot">
<p class="ht_foot_m">
<a href="../html/about/aboutus.htm" class="ma">关于我们</a>(About Us)
<a href="http://www.ccbnewsonline.ca/html/about/protocol/">使用协议</a>(Conditions of Use)
<a href="http://www.ccbnewsonline.ca/html/about/partners/">合作伙伴</a>(Partners)
<a href="http://www.ccbnewsonline.ca/html/about/advertisement/">广告合作</a>(Advertising)
<a href="http://www.ccbnewsonline.ca/html/about/contactus/">联系我们</a>(Contact us)
<a href="http://www.ccbnewsonline.ca/html/about/careers/">诚聘英才</a>(Join us)
<a href="http://www.ccbnewsonline.ca/html/about/helpcenter/">帮助中心</a>(Help)
<a href="http://www.ccbnewsonline.ca/html/about/callpapers/">征稿启事</a>(Contributions Wanted)
</p>
声明:除非特别说明,本网站有关股票价格数据均为交易日收盘价格。本网站并不保证相关股票数据的准确性。
<p>
Copyright ccbnewsonline.ca All rights Reserved.<br /> <font style="color:#FF8400">本网站原创内容版权归《加华财经在线》所有,任何单位及个人转载使用时必须注明来源“CCB News 《加华财经在线》”。</font><br /> <!--Tel:(+1)-2-98762180<br/>--> Email:ccbnews@ccbnewsonline.ca
<script type="text/javascript">
// 百度统计
/*
var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3F43f1efa7e09d452f87128d6d761aa8aa' type='text/javascript'%3E%3C/script%3E"));
*/
</script>
</p>
</div>
</body>
</html>