function Disp_new(){ //================================================== //初期設定 //================================================== var xdate=new Array(2); //=====更新マークの設定 new_day = 14;//更新マークが表示されている日数 new_item = ' New<\/SPAN>';//更新マークに表示する文字または画像(画像はイメージタグを書く) //=====背景カラーの設定 var xcolor=new Array(1); xcolor[0]="efdece";//=====奇数列のカラー xcolor[1]="#FFF4DF";//=====偶数列のカラー //=====文字サイズ・色の設定 udate_size="100%";//=====更新日の文字サイズ cont_size="100%";//=====タイトルの文字サイズ update_color="#000000";//=====更新日の文字色 cont_color="#000000";//=====タイトルの文字色 syousai_color="#666666";//=====詳細の文字色 //================================================== //初期設定ここまで //================================================== document.write(''); for(i=0;i<=num;i++){ //====================更新日設定 xdate = date[i].split("/"); year = xdate[0].substring(2, 4); update = " "+xdate[0]+"/"+xdate[1]+"/"+xdate[2]; //====================更新日からの日数設定 var now = new Date(); var spday= new Date(xdate[0],xdate[1]-1,xdate[2]); a = (now.getTime() - spday.getTime())/(24*60*60*1000);//---a = 更新日からの日数 //====================更新マーク設定 if(a <= new_day){ new_disp = new_item; }else{ new_disp = ''; } //====================タイトル表示設定 if(link[i]){ top_word = link[i].charAt(0); content = ''+xtitle[i]+'<\/a>';//---リンクまたは詳細有り }else{ content = ''+xtitle[i]+'<\/font>';//タイトルのみ } //====================表示 if(xcolor[(i+2)%2]){ document.write(''); }else{ document.write(''); } //====================更新日表示 document.write(''); document.write(''); document.write(''); */ } document.write('
'+update+'<\/SPAN><\/td>'); if(list_photo[i]!=''){ document.write(''); }else{ document.write(' '); } document.write('<\/td>'); //====================タイトル表示 document.write(''+content+'<\/SPAN>'); if(fsize[i]){ document.write(fsize[i]); } document.write(new_disp); document.write('
'+list_comm[i]+'<\/SPAN><\/td>'); document.write('<\/tr>'); /* document.write('
'); } function Disp_renew(){ //====================初期設定 var xlastupdate=new Array(2); var lastdate=new Array(2); var lasttime=new Array(2); //====================最終更新日設定 xlastupdate = renew_date.split(","); lastdate = xlastupdate[0].split("/"); lastwday = xlastupdate[1]; lasttime = xlastupdate[2].split(":"); lastdate[0] = lastdate[0].substring(0, 4); lastupdate = lastdate[0]+"年"+lastdate[1]+"月"+lastdate[2]+"日"; //====================最終更新日表示 document.write('最終更新日:'); document.write(lastupdate); document.write(''); }