Testing Syntax Highlighter

SQL:
[code=sql]
select * from test
update test set a=’b’ where a=’a’
delete from test;
[/code]
C#:
[code=c#]
protected void Page_Load(object sender, EventArgs e)
{
// Connect to the Database
MySqlConnection myConnection = new MySqlConnection(ConfigurationSettings.AppSettings[“SQLConnectionString”]);
string SQL_QUERY = “SELECT * FROM table”;
MySqlCommand myCommand = new MySqlCommand(SQL_QUERY, myConnection);
myConnection.Open();
rptRSS.DataSource = myCommand.ExecuteReader(CommandBehavior.CloseConnection);
rptRSS.DataBind();
myConnection.Close();
}
[/code]
HTML:
[code=html]

1 / 2





?

?

+ wELCOMe + IE 6.0 +
1024×768

***

wEB lOg —->

***

cYCLISt lOg —->

***





















[/code]
XML:
[code=xml]
-
-
-
-
-
-
-
-










-





-
1
2006-03-20T14:40:21.6406250+08:00
a
a
a

-
2
2006-03-20T14:40:51.7500000+08:00
1
2
3

-
3
2006-03-20T14:55:35.8906250+08:00




-
4
2006-04-04T23:06:54.7031250+08:00
gf
sf
fasf

[/code]

语法高亮怎么做!!??

这个代码是网上找来的([url=http://ttyp.cnblogs.com/]http://ttyp.cnblogs.com/[/url]),自己写实在太麻烦了。。。主要是上个学期那个编译器写傻了:@
不过怎么改也改不好。。。>和> <和<总是分不清楚。。。 神阿 Gimme a Sign吧!! [html] HighLight

[/html]

一个很不错的CSS Layout

一个很不错的CSS Layout。
不记得是从哪里看到的了。
[html]



Untitled Document


This is for the top nav
This is for the right nav stuff
This area is for the main content. This area is for the main
content. This area is for the main content. This area is for the
main content.
This area is for the main content. This area is for the main
content.This area
is for the main content.This area is for the main content. This
area is for
the main content. This area is for the main content. This area is
for the main
content. This area is for the main content. This area is for the
main content.
This area is for the main content. This area is for the main
content. This
area is for the main content.

This area is for the main content. This area is for the main
content. This
area is for the main content. This area is for the main content.
This area
is for the main content. This area is for the main content.This
area is for
the main content.This area is for the main content. This area is
for the
main content. This area is for the main content. This area is for
the main
content. This area is for the main content. This area is for the
main content.
This area is for the main content. This area is for the main
content. This
area is for the main content.

This area is for the main content. This area is for the main
content. This
area is for the main content. This area is for the main content.
This area
is for the main content. This area is for the main content.This
area is for
the main content.This area is for the main content. This area is
for the
main content. This area is for the main content. This area is for
the main
content. This area is for the main content. This area is for the
main content.
This area is for the main content. This area is for the main
content. This
area is for the main content.This area is for the main content.
This area
is for the main content. This area is for the main content. This
area is
for the main content. This area is for the main content. This area
is for
the main content.This area is for the main content.This area is for
the main
content. This area is for the main content. This area is for the
main content.
This area is for the main content. This area is for the main
content. This
area is for the main content. This area is for the main content.
This area
is for the main content. This area is for the main content.

This area is for the main content. This area is for the main
content. This
area is for the main content. This area is for the main content.
This area
is for the main content. This area is for the main content.This
area is for
the main content.This area is for the main content. This area is
for the
main content. This area is for the main content. This area is for
the main
content. This area is for the main content. This area is for the
main content.
This area is for the main content. This area is for the main
content. This
area is for the main content.






















[/html]

新增加了 "运行代码" 的UBB

新增加了 “运行代码” 的UBB
Server端的代码写得很乱,基本上是用正则表达式替换实现各类UBB的,但是考虑到[CODE]和[HTML]标签中可能出现与UBB代码冲突的情况,用了很多判断和临时存储变量。。。也许一开始我的思路就是错的。。。:'(头晕ing
不多说了
测试一下先
hoho
[html]




CSS Tables

?
Configurations Dual 1.8GHz Dual 2GHz Dual 2.5GHz
lipeng M9454LL/A M9455LL/A M9457LL/A
mapabc Dual 1.8GHz PowerPC G5 Dual 2GHz PowerPC G5 Dual 2.5GHz PowerPC G5
地图名片 900MHz per processor 1GHz per processor 1.25GHz per processor
图秀卡 512K per processor 512K per processor 512K per processor






















[/html]

生命中你看重什么?

有一位父亲存了很久的钱,终于买了一辆雪亮的新车,他非常宝贝这部车,每天都洗车打蜡,他五岁的儿子见父亲这么爱车,也非常兴奋的帮爸爸一起洗。父亲有这样一个儿子,非常满足,深觉这个儿子很体谅为父的心。
  有一天,这位父亲很累,虽然车子因为淋了雨而显得脏,但他实在太累了,心想,改天再洗车吧!五岁的儿子见父亲这么累,就兴冲冲的要帮爸爸洗车,父亲见他人小志气大,心里更加得意,便放手让儿子洗。
  小儿子要洗车,却找不到抹布,他走进厨房,立时便想到母亲平常炒完菜洗锅子时,都是用钢刷使劲刷才刷干净的,所以既然没有抹布,就用钢刷吧!他拿起钢刷用力的洗起车来,一遍又一遍,像刷锅子一样刷车。
  等他洗完之后,『哇!』他大哭失声,车子怎么都花了?这下惨了,他急忙跑去找父亲,边哭边说﹕『爸爸,对不起,爸爸,你来看!』父亲疑惑地跟着儿子走到车旁,他也『哇』的一声,『我的车!我的车!』这位父亲气得走进房间,他十分生气地跪在地上祷告,『上帝呀,请你告诉我,我该怎么做?那是我新买的车,一个月不到,就变成这样,我该怎么处罚我的孩子?』
  他才祷告完,在他心里忽然出现一个声音,『世人都是看表面,而我却是看内心!』突然间,他像是被点醒了。他走出房门,儿子正害怕地流着泪,动也不敢动。父亲急忙把孩子拥在怀里,并且说:『谢谢你帮爸爸洗车,爸爸爱你,胜过那部车子。』