像素最高的中幅相机: 宾得645D 4000万像素。(错了,下面说的哈苏H4D-60才是,至于H5D,刚推出,英文网页说:will include 40, 50 and 60 megapixel models, as well as 50 and 200 megapixel multi-shot versions,好像是要照几次才能达到两亿像素,不知道我的理解对不对)
像素最高的全幅相机:尼康D800 和 尼康D800E,3600万像素。
像素最高的APS-C单反相机:尼康D3200,2400万像素。
像素最高的单电相机:索尼A77,2400万像素。
像素最高的微单相机:索尼Nex-7,2400万像素。
像素最高的不可换镜头小数码:索尼RX100,2000万像素,据说RX1是全幅,2400万像素。
像素最高的手机照相机:Nokia Purview,4100万像素。
如果只考虑像素,最后这个是最高的。(错了,还是哈苏最高)
资料可能不够全,非转抄,如果有疏漏欢迎大家补充。
代码太长我没有看, 回答你后面这一个问题:
另外在添加产品的程序中如何修改Product_Id这个函数按照自己的意愿按次序自动递增???
你用的是什么数据库,如果是SQL Server那么找到Products表, 右键-设计表-Product_Id字段,选择》标识 为 "是" 保存即可.。
access 找到Product_Id字段 数据类型 》 自动编号。
1.
1.1
Western festivals gain ever-increasing popularity in China. A growing number of people in China are immersed in the thrilling atmosphere of the upcoming Christmas. In comparison with the Spring Festival, the equally high status is given to Christmas by some of them.。
There are a variety of factors contributing to this craze (trend). First, younger age groups are exposed to western culture and lifestyles through learning English. And festivals are regarded as the highlight of western culture. For example, Valentine's Day provides a vehicle for young adults to show their love. Second, the advancement of economy enables Chinese people to possess increased purchasing power. They are heavily targeted by businessmen, who view foreign festivals as golden opportunities to make money. So they desperately try to boost the atmosphere of foreign festivals.。
The necessity of celebrating these foreign festivals is widely questioned. People involved are to blame for their loose traditional values. Our home-grown festivals play crucial roles in Chinese traditional culture. However, their foreign counterparts are exerting strong influence on people's values and thoughts. There is no doubt that we should give our priority to Chinese traditional festivals.。
1.2
Western Festivals In China 。
"Astonishing ! Hundreds of naked female Japanese visitors are demonstrating in the Tian'an Square ." Today when I logged on QQ, I received this message . I clicked the address only to find that I was taken in . It said, "Astonishing ? Astonish your head !Happy April Fool's Day , you fool ! "Yes , it is April Fool's Day .。
The celebration of western festivals in China is popular and a hot topic for years . 。
Celebrations
Who makes the festivities 。
Nowadays , western festivals are so hot in China .The festivals mainly incorporate Christmas Day , Valentine's Day , April Fool's Day ,etc . Let's see some Statistics from a newspaper survey . According to ages , the percentages of the young people under 18, over 28 , from 18to 25, from 25 to 28 ,who celebrate Christmas, are separately 7%, 29%, 46%,18% . According to careers , there are 84.6% workers of science and technology , education , medicine, 83.3% students , 71.4% administrators and office staffs, who keep Christmas .。
How people celebrate[/orange] 。
When these festivals come along , many young people become quite exuberant .They exchanges gifts with classmates , friends , colleagues , valentines. They chat , sing , and laugh happily .And they go to the pubs and restaurants . When Christmas falls , there are a variety of decorates such as Christmas trees , miscellaneous toys , vermilion hats , little candies , elaborate cards , blessings, ribbons and festoons in various stores , the campuses , offices , houses, etc . And on Valentine's Day , the streets are stuffed with cerise roses . People send boxes of chocolates, diamond rings , and write love poems to the their beloved . And they sit drinking the grape wine in the bar and kissed each other on the streets . 。
To cut long story short , many young people are really fascinated by the western festivals . 。
[colou=red]Controversy : For or Against 。
Though the western festivals become more and more popular, there is much controversy over this phenomenon. Many people ,including the experts ,turn to worry about the disadvantages and potential harm of the celebrations. And many people think otherwise .Different people have different views towards it . 。
Part 1 :
Viewpoint 1
Some people comment that the festivities are meaningless . "They are foreign. And why should we Chinese keep their festivals . They have nothing to do with us ! What should we do that for ? " they said , "don't do this sorts of stupid things again ! " One people says online jokingly ,"April Fool's Day ? Forget it .Don't you know that we are keeping Fool' Day every day ?" We celebrate the festivals even without knowing their meanings .。
Viewpoint 2
Others believe that the western festivals serve as a kind of cultural aggression . And we should drive them out of our country lest they should undermine our traditional culture and system . Some festivals such as Christmas are highly religious .As the 'imported 'festivals become hot , our own native festive occasions turn cool . What's worse , if our own distinctive culture be destroyed , then the whole nation will not exist . 。
Viewpoint 3
Some people point out that the youngsters are misled by the market sellers , who exert great efforts to advertise and propagate their products and provide all kinds services related to the west festivals . And the young people are just following the trends indiscriminately . It will cost them an arm and a leg to buy the gifts ,which is especially inappropriate for the campus students . Some stores hold contest of kissing , in which the couple who kiss each longest will be rewarded . Many young people including the students take part in it .。
Viewpoint4
A lot of people assume that the phenomenon is actually a kind of blind worship of western things . They condemn the people keeping the Occidental festivals as lacking the backbone . They should strength their confidence of our own country and our own traditional festivals . It is better to celebrate our own . 。
Viewpoint5
Someone employs as a protest a Chinese idiom –Tungshihhsiaopin ,meaning blind imitation with ludicrous effect .This mainly refers to the April Fool's Day . Some people make excessive jokes and do some foolish things .It may generate harmful effects . Some severe consequences are really made because of it . 。
Part 2 :
Viewpoint 1
Some people argue that there is no harm of the festivities . For one thing , it helps to consolidate the relationships between friends , lovers , classmates , colleagues , etc . Through the activities , we can know each other better . If you want to pursue a boy or a girl , then Valentine's Day is a great chance .You can boldly show your love to him or her under the cloak of festival.。
Viewpoint 2
The festivals brings happiness to us . It can contributes t o alleviating the pressure of study , work ,etc . In modern society , everyone may feel some stress. Since the celebrations are beneficial , why should we keep them out of the door . And happiness is indispensable part of our life . Just for fun and for relaxation . There is no conscience of religion . Many people accept the festival without knowing their original significance .So don't worry about the influence of religion . A lot of good memories will remain in our brain .。
Viewpoint3
The western festivals are colorful . And they emphasize more on the individualism and liberalism .Some aspects of our traditional festivals not fit to many people . For example , to celebrate the Dragon Boat Festival , people traditionally make Tsung Tzu (a pyramid-shaped mass of glutinous rice wrapped in leaves) at home . But it is not convenient for people who live in the big cities to do it . And the Ghost Day has an ambience of gloom and horror . But people in the west celebrate the Halloween Day with a more happy attitude. 。
1.3
The Increasing Popularity of Western Festivals in China。
People especially adolescents in increasing number preferred a western festival than a traditional one.They enjoy Christmas gifts,sweet chocolate and beautiful red roses on westen festivals,and thereby,this phenomenon arises not only in part of the country. 。
Is this a kind of cultural invasion?Someone`s trying to think so while others take it for a kind of communication in culture. On one hand,the western festival do have an effert on the native culture:more people celebrate western festival instead of their own one,which becomes a disaster to our culture.No wonder someone declained that our culture is vanishing!On the other hand,celebrating western festival is undoubtly a good chance to experence foreign culture..In the long run,western festival may occupy our market and affect our living styles,so it is high time to recall our own national awareness and protect our traditional culture. 。
My point to this phenomenon is that we can enjoy western festivals but we also keep our own culture in order to ensure the future of our nation.。
2.The safety of food 。
An overarching food safety commission will be set up to improve supervision, according to the latest draft of a food safety law submitted to the top legislature for review Wednesday.。
The commission will be a "high-level coordination and guidance" body, and details of its responsibilities and authority will be decided by the State Council, Liu Xirong, deputy director of the National People’s Congress (NPC) Law Committee, said while explaining the change to legislators.。
The draft law is likely to be passed over the weekend after the NPC Law Committee Wednesday suggested putting it for vote on Saturday when the current NPC Standing Committee session ends.。
Liu said the proposed commission reflects the demands of legislators to streamline the current food supervision mechanism. More than 10 government departments are involved with food safety at present, leading to overlapping of responsibilities and lax law enforcement.。
The amendment to the draft law reduces to five the number of government departments: health (MOH), agriculture (MOA), quality control (AQSIQ), industry and commerce (SAIC), as well as food and drug safety (SFDA).。
The MOH has been given primary responsibility and a range of new tasks including evaluation of risks, setting standards, investigating accidents and releasing information.。
Another major change is that the latest draft law brings under its purview the supervision of health food. "Health food has become a quite big industry, but many problems remain," Liu said. "The supervision of such food should be even stricter."。
The draft stipulates that health food must not cause any harm to people, their labels and instruction leaflets must be true, and cannot claim the products can prevent or cure illness. The State Council is required to release a detailed regulation on health food, according to the draft.。
Legislators said they were glad that their opinions were taken into consideration. "I suggested improving the current food safety supervision mechanism during the draft law’s last review in October 2008, and I’m happy the latest draft has made changes accordingly," Yu Zhenggui, an NPC Standing Committee member, said.。
Experts said the law, if passed, will be a milestone in food safety regulation. "The biggest progress is that the law highlights the importance of safety risk assessment," Chen said.。
The draft law devotes a whole chapter to risk assessment, and requires the MOH to set up a risk assessment committee comprising experts in health, agriculture, food and nutrition.。
2.2
China strengthens food safety。
The Chinese government is to strengthen food safety regulations in response to incidents of tainted food and toothpaste, which had led to bans of some Chinese products in several countries. 。
Xinhua reported that Chinese Premier Wen Jiabao addressed the State Council on Wednesday. Wen stated that "The nation must establish a rigorous network to realize effective supervision over processing, packaging, delivering and sale of products and step up the establishment of national standard systems to tally with international standards," 。
China will now seek to strengthen cooperation with other countries and improve law enforcement to prevent further incidents.。
2.3
“Sudan Red I” and China’s Food Safety 。
By staff reporter QIAO TIANBI。
After its prompt handing of the Sudan Red I incident,KFC's business in China recovered quickly.。
FIVE days after the UK Food Standards Agency announced the recall of food contaminated with the carcinogenic dye Sudan Red I, China’s food safety authorities demanded a comprehensive examination of all domestically produced food. Evidence suggests that China’s Food Safety Administration acts in accordance with international practices, and has the ability to deal with emergencies. The “Sudan Red I” incident, however, has sparked skepticism among Chinese consumers, and a recent survey released by the Ministry of Commerce shows that less than 50 percent of those questioned have full confidence in foodstuffs, either Chinese or foreign. 。
Gap between China and Developed Countries。
Hu Xiaosong, a professor with the China Agricultural University Food Safety Technological Center, says that Western countries solved their food and clothing shortages back in the mid-to-late 1950s, but that China has only recently done so. Many urban residents are now seriously concerned about the safety of their food. Western nations have spent fifty years establishing a legal system and quality control mechanisms to govern food safety. China could not be expected to catch up in just a few years.。
The country has actually made tremendous progress regarding food safety. In the mid-1980s, agricultural and food products that met state standards of quality control averaged between 60 and 70 percent. By the mid 1990s, that rate had jumped to 80 percent, and progress continues.。
In 1995, China issued the Food Hygiene Law, and in 2003, it announced the Food Safety Action Plan. As part of its attempts to regulate the markets, the State Council has cracked down on counterfeit and shoddy goods. Three years ago, China introduced a market access system whereby 28 categories of food would be placed under a supervision and control system. Rice, flour, cooking oil, soy sauce and vinegar have so far been put under the system and 95 percent of these products’ national sales volume is produced by qualified enterprises. Another 10 categories, including meat and dairy products and soft drinks, are in the final stages of completion, while work on the remaining 13, including tea and candies, has already begun. 。
Vice Premier Wu Yi of the State Council said at the opening ceremony of the Global Forum on Food Safety, held in December 2004 that, “China’s food safety situation has improved, but there is still a long way to go.” In 1996, China banned the use of Sudan Red I in food production, but testing standards were a long time coming, showing that the country lags behind in food safety standards. Of China’s current food safety standards, only 23 percent meet the international or advanced standards that apply in developed nations. Certain food additives that are banned abroad are still permitted in China. Moreover, in many cases, limits, testing methods and standards are few and far between, and are not coordinated where they do exist. Zhu Yicai, chairman of the Yurun Group, holds that without a unified system of quality standards, confusion exists among consumers and producers alike. 。
There are nearly 10 departments responsible for food safety supervision, with more than one million employees. But as Chief Sun Xianze of the State Food and Drug Administration says, “these departments’ functions overlap, and sometimes even contradict each other, causing a dilution of forces and resources.” Many experts suggest that a Food Safety Commission be established that centralizes food safety administration and quality control.。
Lifestyle Impact。
Zong Qinghou, chairman of China’s largest soft drinks producer the Wahaha Group, says, “The safety of food is more important than the food itself. It is a question of basic hygiene, one that concerns the national economy, as well as the people’s very livelihoods.” Research results from a two-year project conducted by the Hangzhou Center of Disease Control and Prevention reveal that traditional Chinese foods, such as roast chicken, roast duck, smoked fish, salted meat and fermented soya beans can be just as unsafe as those containing Sudan Red I. At the same time, the Chinese diet is undergoing a rapid transformation, with high-fat foods and fast food becoming more and more popular. Nearly 200 million Chinese people are overweight, and among them, 60 million are obese. Incidences of diet-related illnesses such as heart disease, diabetes and apoplexy are increasing rapidly. Hu Xiaosong concludes, “Radical changes are occurring in our diet and nutrition structures, bringing with them great risks to people’s health.”
3.How to increase your work esperience in university 。
3.1
While studying in universities, students are required to make a detailed study of the knowledge in the books. Certainly the academic knowledge is the foundation for the future work. Some working experiences is also indispensable for them to adapt to the future occupation. How to increase the working experience without the sacrifice of students?。
Firstly, I think, the students should get mentally and physically prepared for the coming part-time jobs. Secondly, they should widen the scope of choices. Whenever mentioning the part-time jobs, students will inevitably think of tutoring little kids and working in the supermarkets. In fact, there are a lot of other choices, such as working as volunteers for some associations, teaching in some less developed ares, and writing article for newspaper. Finally, write down promptly what they have learned form work. By doing so, they could have deep impression of that experience and make it really valuable for the future work.。
In a word, working experience gained while the students are studying in universities will benefit them throughout their lives.。
UserID改成标识规范 为 是 的时候,在你添加、删除和修改用户的时候都不能对Userid操作,而且它是自动添加的,不可以修改。这样数据库表你不设置主键也可以。
如果UserID改成标识规范 为 否 的时候,那么在增加、修改的时候你就得操作。
我用的ASP连接SQL Server 之后,先是登陆进去,然后里面有个功能是 管理登陆账户。
我admin 表里面一共有 UserID, username,password, purview 四个栏目,其中UserID是主键, 当我把UserID改成标识规范 为 是 的时候, 登陆的时候总是显示账户密码错误,登陆不进去,改成否的时候到时可以登陆进去了,但是后面的添加账户,显示UserID不能为空。
在你下边的代码中
set rs=server.CreateObject("Adodb.recordset")。
sql="insert into Admin(username,password,purview) values ------在添加数据时,userid你没有添加,这就说明userid是标识规范,否则就回出现错误。
<?php
require_once(dirname(__FILE__).'/config.php');。
CheckPurview('a_New,a_AccNew');。
require_once(DEDEINC.'/customfields.func.php');。
require_once(DEDEADMIN.'/inc/inc_archives_functions.php');。
if(empty($dopost))。
$dopost = '';
if($dopost != 'save')。
require_once(DEDEINC.'/dedetag.class.php');。
require_once(DEDEADMIN.'/inc/inc_catalog_options.php');。
ClearMyAddon();。
$channelid = empty($channelid) ?0 : intval($channelid);。
$cid = empty($cid) ?0 : intval($cid);。
if($cid >0 &&$channelid == 0)。
$row = $dsql->GetOne("Select channeltype From `#@__arctype` where id='$cid'; ");。
$channelid = $row['channeltype'];。
else
if($channelid==0)。
ShowMsg('无法识别模型信息,因此无法操作!','-1');。
exit();
$cInfos = $dsql->GetOne(" Select * From `#@__channeltype` where id='$channelid' ");。
$channelid = $cInfos['id'];。
$maxWright = $dsql->GetOne("SELECT COUNT(*) AS cc FROM #@__archives");。
include DedeInclude('templets/archives_line_add.htm');。
exit();
else if($dopost=='save')。
require_once(DEDEINC.'/image.func.php');。
require_once(DEDEINC.'/oxwindow.class.php');。
$flag = isset($flags) ?join(',',$flags) : '';。
$notpost = isset($notpost) &&$notpost == 1 ?1: 0;。
if(empty($click)) $click = ($cfg_arc_click=='-1'?mt_rand(50,200) : $cfg_arc_click);。
if(empty($typeid2)) $typeid2 = 0;。
if(!isset($autokey)) $autokey = 0;。
if(!isset($remote)) $remote = 0;。
if(!isset($dellink)) $dellink = 0;。
if(!isset($autolitpic)) $autolitpic = 0;。
if(empty($click)) $click = ($cfg_arc_click=='-1'?mt_rand(50,200) : $cfg_arc_click);。
if($typeid==0)
ShowMsg('请指定文档的栏目!','-1');。
exit();
if(empty($channelid))。
ShowMsg('文档为非指定的类型,请检查你发布内容的表单是否合法!','-1');。
exit();
if(!CheckChannel($typeid,$channelid) )。
ShowMsg('你所选择的栏目与当前模型不相符,请选择白色的选项!','-1');。
exit();
if(!TestPurview('a_New'))。
CheckCatalog($typeid,"对不起,你没有操作栏目 {$typeid} 的权限!");。
if(empty($writer)) $writer = $cuserLogin->getUserName();。
if(empty($source)) $source = '未知';。
$pubdate = GetMkTime($pubdate);。
$senddate = time();。
$sortrank = AddDay($pubdate,$sortup);。
$ismake = $ishtml == 0 ?-1 : 0;。
$title = ereg_replace('"','"',$title);。
$title = cn_substrR($title,$cfg_title_maxlen);。
$shorttitle = cn_substrR($shorttitle,36);。
$color = cn_substrR($color,7);。
$writer = cn_substrR($writer,20);。
$source = cn_substrR($source,30);。
$description = cn_substrR($description,$cfg_auot_description);。
$keywords = cn_substrR($keywords,60);。
$filename = trim(cn_substrR($filename,40));。
$userip = GetIP();。
$isremote = (empty($isremote)?0 : $isremote);。
$serviterm=empty($serviterm)?"": $serviterm;。
if(!TestPurview('a_Check,a_AccCheck,a_MyCheck'))。
$arcrank = -1;
$adminid = $cuserLogin->getUserID();。
if(empty($ddisremote))。
$ddisremote = 0;。
$litpic = GetDDImage('none',$picname,$ddisremote);。
$arcID = GetIndexKey($arcrank,$typeid,$sortrank,$channelid,$senddate,$adminid);。
if(empty($arcID))。
ShowMsg("无法获得主键,因此无法进行后续操作!","-1");。
exit();
$inadd_f = $inadd_v = '';。
if(!empty($dede_addonfields))。
$addonfields = explode(';',$dede_addonfields);。
if(is_array($addonfields))。
foreach($addonfields as $v)。
if($v=='') continue;。
$vs = explode(',',$v);。
if($vs[1]=='htmltext'||$vs[1]=='textdata')。
${$vs[0]}= AnalyseHtmlBody(${$vs[0]},$description,$litpic,$keywords,$vs[1]);。
else
if(!isset(${$vs[0]})) ${$vs[0]}= '';。
${$vs[0]}= GetFieldValueA(${$vs[0]},$vs[1],$arcID);。
$inadd_f .= ','.$vs[0];。
$inadd_v .= " ,'".${$vs[0]}."' ";。
if($litpic!=''&&!ereg('p',$flag))。
$flag = ($flag==''?'p': $flag.',p');。
if($redirecturl!=''&&!ereg('j',$flag))。
$flag = ($flag==''?'j': $flag.',j');。
if(ereg('j',$flag)) $ismake = -1;。
$noo=count($att[from]);。
if($noo>=0)
$okxc=okfromzj($noo,$att[from],$att[to],$att[by],$att[zc],$att[zhc],$att[wc],$att[home],$att[xingcheng]);。
$xcjd=xcjd($noo,$att[jd]);。
if($allll>0 and $datee1<>'')。
$da='';
for($i=1;$i<=$allll;$i++)。
$datee="datee".$i;。
$dateee="dateee".$i;。
$crr="crr".$i;
$rtt="rtt".$i;
$smm="smm".$i;
$plda .="~".$$datee."+".$$dateee."+".$$crr."+".$$rtt."+".$$smm;。
else
for($i=1;$i<=$alll;$i++)。
$date="date".$i;。
$cr="cr".$i;
$rt="rt".$i;
$sm="sm".$i;
$da .="~".$$date."+".$$cr."+".$$rt."+".$$sm;。
$query = "INSERT INTO `#@__archives`(id,typeid,typeid2,sortrank,flag,ismake,channel,arcrank,click,money,title,shorttitle,。
color,writer,source,litpic,pubdate,senddate,mid,notpost,description,keywords,filename,dutyadmin,weight)。
VALUES ('$arcID','$typeid','$typeid2','$sortrank','$flag','$ismake','$channelid','$arcrank','$click','$money','$title','$shorttitle',。
'$color','$writer','$source','$litpic','$pubdate','$senddate','$adminid','$notpost','$description','$keywords','$filename','$adminid','$weight');";。
if(!$dsql->ExecuteNoneQuery($query))。
$gerr = $dsql->GetError();。
$dsql->ExecuteNoneQuery("Delete From `#@__arctiny` where id='$arcID'");。
ShowMsg("把数据保存到数据库主表 `#@__archives` 时出错,请把相关信息提交给CTSCMS官方。".str_replace('"','',$gerr),"javascript:;");。
exit();
$cts = $dsql->GetOne("Select addtable From `#@__channeltype` where id='$channelid' ");。
$addtable = trim($cts['addtable']);。
if(!empty($addtable))。
$useip = GetIP();。
$query = "INSERT INTO `{$addtable}`(aid,typeid,xc,bj,plbj,xcjd,redirecturl,userip{$inadd_f}) Values('$arcID','$typeid','$okxc','$da','$plda','$xcjd','$redirecturl','$useip'{$inadd_v})";。
if(!$dsql->ExecuteNoneQuery($query))。
$gerr = $dsql->GetError();。
$dsql->ExecuteNoneQuery("Delete From `#@__archives` where id='$arcID'");。
$dsql->ExecuteNoneQuery("Delete From `#@__arctiny` where id='$arcID'");。
ShowMsg("把数据保存到数据库附加表 `{$addtable}` 时出错,请把相关信息提交给CTSCMS官方。".str_replace('"','',$gerr),"javascript:;");。
exit();
InsertTags($tags,$arcID);。
if($cfg_remote_site=='Y'&&$isremote=="1")。
if($serviterm!=""){。
list($servurl,$servuser,$servpwd) = explode(',',$serviterm);。
$config=array( 'hostname'=>$servurl,'username'=>$servuser,'password'=>$servpwd,'debug'=>'TRUE');。
}else{
$config=array();。
if(!$ftp->connect($config)) exit('Error:None FTP Connection!');。
ClearMyAddon($arcID,$title);。
$artUrl = MakeArt($arcID,true,true,$isremote);。
if($artUrl=='')。
$artUrl = $cfg_phpurl."/view.php?aid=$arcID";。
$msg = " 请选择你的后续操作:
<a href='archives_line_add.php?cid=$typeid'><u>继续发布文档</u></a>。
。
<a href='$artUrl' target='_blank'><u>查看文档</u></a>。
。
<a href='archives_do.php?aid=".$arcID."&dopost=editArchives'><u>更改文档</u></a>。
。
<a href='catalog_do.php?cid=$typeid&dopost=listArchives'><u>已发布文档管理</u></a>。
。
$backurl
";
$msg = "<div style=\"line-height:36px;height:36p。