try
{
if (this.txt_send_area.Text == "")
{
this.txt_send_area.Text = sign_order_head.Send_Post;
BG_AREA bgarea = new BG_AREA(sign_order_head.Send_Post, sign_order_head.Send_City);
this.txt_send_post.Text = bgarea.PostNo;
}
else if (this.txt_send_area.Text == this.txt_send_post.Text && this.txt_send_area.Text.Length == 3)
{
try
{
//都是区号
int postno = Convert.ToInt32(sign_order_head.Send_Area);
BG_AREA bgarea = new BG_AREA(sign_order_head.Send_Area, sign_order_head.Send_City);
this.txt_send_area.Text = bgarea.AreaName;
}
catch
{
//文字
BG_AREA bgarea = new BG_AREA(sign_order_head.Send_Area, sign_order_head.Send_City);
this.txt_send_post.Text = bgarea.PostNo;
}
}
else
{
this.txt_send_post.Text = Convert.ToInt32(txt_send_post.Text).ToString();
}
}
catch
{
this.txt_send_post.Text = "000";
}
{
if (this.txt_send_area.Text == "")
{
this.txt_send_area.Text = sign_order_head.Send_Post;
BG_AREA bgarea = new BG_AREA(sign_order_head.Send_Post, sign_order_head.Send_City);
this.txt_send_post.Text = bgarea.PostNo;
}
else if (this.txt_send_area.Text == this.txt_send_post.Text && this.txt_send_area.Text.Length == 3)
{
try
{
//都是区号
int postno = Convert.ToInt32(sign_order_head.Send_Area);
BG_AREA bgarea = new BG_AREA(sign_order_head.Send_Area, sign_order_head.Send_City);
this.txt_send_area.Text = bgarea.AreaName;
}
catch
{
//文字
BG_AREA bgarea = new BG_AREA(sign_order_head.Send_Area, sign_order_head.Send_City);
this.txt_send_post.Text = bgarea.PostNo;
}
}
else
{
this.txt_send_post.Text = Convert.ToInt32(txt_send_post.Text).ToString();
}
}
catch
{
this.txt_send_post.Text = "000";
}
<a href="javascript:vod(0)" onclick="$('#linkname').val($('#title').val().split(' ').join('-'))">从名称读取 </a>
关键是这个!
.split(' ').join('-')
做url 下面的这个方案更好
<a href="javascript:vod(0)" onclick="$('#linkname').val($('#title').val().replace(/ +/g,'-'))">从名称读取 </a>
$pattern='/<body [^>]*?>.*?<\/body>/si';
$subject = $htmltext;
preg_match($pattern, $subject, $matches);
print_r($matches);;
$subject = $htmltext;
preg_match($pattern, $subject, $matches);
print_r($matches);;
<!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" />
<title>Untitled Document</title>
<style type="text/css">
.fourlist{ width:200px; height:150px; background-color:#FC0; margin:5px 2px 5px 2px !important; margin:5px; display:inline-block !important; zoom:1!important;display:inline; }
</style>
</head>
<body>
<p>一行四列非float演示</p>
<p> </p>
<div style="width:900px;">
<div class="fourlist"></div>
<div class="fourlist"></div>
<div class="fourlist"></div>
<div class="fourlist"></div>
<div class="fourlist"></div>
<div class="fourlist"></div>
<div class="fourlist"></div>
<div class="fourlist"></div>
<div class="fourlist"></div>
<div class="fourlist"></div>
<div class="fourlist"></div>
<div class="fourlist"></div>
<div class="fourlist"></div>
</div>
</body>
</html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
.fourlist{ width:200px; height:150px; background-color:#FC0; margin:5px 2px 5px 2px !important; margin:5px; display:inline-block !important; zoom:1!important;display:inline; }
</style>
</head>
<body>
<p>一行四列非float演示</p>
<p> </p>
<div style="width:900px;">
<div class="fourlist"></div>
<div class="fourlist"></div>
<div class="fourlist"></div>
<div class="fourlist"></div>
<div class="fourlist"></div>
<div class="fourlist"></div>
<div class="fourlist"></div>
<div class="fourlist"></div>
<div class="fourlist"></div>
<div class="fourlist"></div>
<div class="fourlist"></div>
<div class="fourlist"></div>
<div class="fourlist"></div>
</div>
</body>
</html>
$pattern1='/SELECT+ .*?from/si';
$all_rs = $db->rows(preg_replace($pattern1, 'SELECT count(0) as pagecount FROM', $sqlstr,1));
$total= $all_rs['pagecount']; //总得记录
$all_rs = $db->rows(preg_replace($pattern1, 'SELECT count(0) as pagecount FROM', $sqlstr,1));
$total= $all_rs['pagecount']; //总得记录
理想的blog,就是自己去写个blog
从来没有写过seo的文章,也不想写,最好的时候,有优化过个人网站,也就那时候开始,关注,后一有一时间,ip在3000-5000之关后,也不怎么关注,叫奏顺其自然
前几天因为sitemap的内容过多,所以写了一个sitemap的分页,还是用et来写,因为模板化,一切变得很简单!
刚才在QQ上听到tosen开始要做日文网站,我想,可以去注册一下,在去搜索引擎看了一下大部分的资料都在,
简单总结一下上面的发言,就是 "哦ye!"
在bo-blog一直没有更新,又想去安装一个论坛
发现原来的bmf论坛也不能下载,昨天的昨天安装了wp,找来找去,没有找到理想的模板,现在关于这个blog的seo真的是一点都不喜欢 ,因为开源,高手很多,但去改数据库的很少!
bob感觉很厉害!简单的出来一下,跟着的人很多,我没有用过我的et对bo的数据库进行分页,不知道效果怎么样
我要改bo的blog会改掉bo很多内容,可是,关键的一步,在今天晚上,没有可能解决,,这里我用了一招,放到测试站去,把缓存给弄好!
本来想写,学一下正则,结果,到了,某年某月的今天还是没有写成!某些人认为,我的QQ 空间都没有更新,那是因为不想用QQ空间,这个blog每年可都要发钱,钱来的不容易!
在备案越来越复杂的今天,能一个很好的空间商,很不错!
从来没有写过seo的文章,也不想写,最好的时候,有优化过个人网站,也就那时候开始,关注,后一有一时间,ip在3000-5000之关后,也不怎么关注,叫奏顺其自然
前几天因为sitemap的内容过多,所以写了一个sitemap的分页,还是用et来写,因为模板化,一切变得很简单!
刚才在QQ上听到tosen开始要做日文网站,我想,可以去注册一下,在去搜索引擎看了一下大部分的资料都在,
简单总结一下上面的发言,就是 "哦ye!"
在bo-blog一直没有更新,又想去安装一个论坛
发现原来的bmf论坛也不能下载,昨天的昨天安装了wp,找来找去,没有找到理想的模板,现在关于这个blog的seo真的是一点都不喜欢 ,因为开源,高手很多,但去改数据库的很少!
bob感觉很厉害!简单的出来一下,跟着的人很多,我没有用过我的et对bo的数据库进行分页,不知道效果怎么样
我要改bo的blog会改掉bo很多内容,可是,关键的一步,在今天晚上,没有可能解决,,这里我用了一招,放到测试站去,把缓存给弄好!
本来想写,学一下正则,结果,到了,某年某月的今天还是没有写成!某些人认为,我的QQ 空间都没有更新,那是因为不想用QQ空间,这个blog每年可都要发钱,钱来的不容易!
在备案越来越复杂的今天,能一个很好的空间商,很不错!
jquery代码
$(document).ready(function(){
//$(".trclass:odd>td").addClass("tr1");
$(".trclass:even>td").addClass("tr2");
$(".trclass>td").mouseover(function(){
$(this).siblings().addClass("tr3");
$(this).addClass("tr4");
}).mouseout(function(){
$(this).siblings().removeClass("tr3");
$(this).removeClass("tr4");
});
});
//$(".trclass:odd>td").addClass("tr1");
$(".trclass:even>td").addClass("tr2");
$(".trclass>td").mouseover(function(){
$(this).siblings().addClass("tr3");
$(this).addClass("tr4");
}).mouseout(function(){
$(this).siblings().removeClass("tr3");
$(this).removeClass("tr4");
});
});
jquery 交流群:62203220
代码经过测试可以用!
用最新的checked检查表单,有没有选择,ff,ie6+,chrome测试可用!
if(!$("input:checked[name='id[]']").eq(0).val())
{
alert("请选择操作ID");
return
}
if(!$("input:radio[name='do'][checked]").eq(0).val())
{
alert("请选择操作的动作");
return
}
{
alert("请选择操作ID");
return
}
if(!$("input:radio[name='do'][checked]").eq(0).val())
{
alert("请选择操作的动作");
return
}
代码经过测试可以用!
用最新的checked检查表单,有没有选择,ff,ie6+,chrome测试可用!
Quotation
广州白云江高镇长岗村一地下工厂生产假冒名牌牙膏案 2003-02-14
Quotation
广州市伯胜鞋业有限公司涉嫌生产假冒皮鞋案 2009-09-02
http://www.gdqts.gov.cn/zzgz/spaq/
这个页可以看到
关于 抽样调查显示十款畅销洗发水中九款检出致癌物 这个是记者调查,和质检无关!
像09年,才打假一起,这说明现在广东地区生产的东西质量优!










