0 ) { // $ct = $ret[ct]; $ct2 = 0; $ptxt =""; if( is_array( $ret[jpegs] ) ) { //print "result="; foreach( $ret[jpegs] as $entry ) { $fname = basename( $entry ); $ar4[] = $fname; $ct2++; } foreach( $ar4 as $val ) { if( $f_table ) { $ret2 .= "
"; } else { if( $ct3 >0 )$ret2 .= $suf; } $ret2 .= "" . "= $h ) { $ret2 .= " width='" . $width . "'"; $ret2 .= " height='" . (int)($h / $w * $width) . "'"; } else { $ret2 .= " width='" . (int)($w / $h * $width) . "'"; $ret2 .= " height='" . $width . "'"; } $ret2 .= ">"; if( $f_table ) { $ret2 .= "
"; } $ct3++; } } } } } return $ret2; } ?> '; ?> " /> " /> " /> <?=getPageInfo( $dbr, "title", $page_id );?>|<?=getSiteInfo( $dbr, "sub_title");?> " type="text/css" media="all" />
 

ブログ

loadTemplateFromFile("../include/template_kiji.txt", false ); //NULLの場合の文字列を定義 $dbr->null_str = " "; print $dbr->error_message; if( !$debug_mode_p ) { $dbr->GetDirectSQL( "select a.kiji_naiyou, a.title, b.order_no from kiji_data a, page_data b where a.kiji_id=b.kiji_id and b.page_id=1 and (b.flag IS NULL or b.flag!=1) and b.kind=1 order by b.order_no;" ); } else { $dbr->GetDirectSQL( "select a.kiji_naiyou, a.title, b.order_no from kiji_data a, page_data b where a.kiji_id=b.kiji_id and b.page_id=1 and b.kind=1 order by b.order_no;" ); } print $dbr->error_message; //テンプレートを使って表示 print $dbr->DispRowWithTemplate( true, false, false ); ?>

カレンダー

<?=getSiteInfo( $dbr, " width="201" />

loadTemplateFromFile("../include/template_kiji.txt", false ); //NULLの場合の文字列を定義 $dbr->null_str = " "; print $dbr->error_message; if( !$debug_mode_p ) { $dbr->GetDirectSQL( "select a.kiji_naiyou, a.title, b.order_no from kiji_data a, page_data b where a.kiji_id=b.kiji_id and b.page_id=$page_id and (b.flag IS NULL or b.flag!=1) and (b.kind IS NULL or b.kind=0) order by b.order_no, b.kiji_id;" ); } else { $dbr->GetDirectSQL( "select a.kiji_naiyou, a.title, b.order_no from kiji_data a, page_data b where a.kiji_id=b.kiji_id and b.page_id=$page_id and (b.kind IS NULL or b.kind=0) order by b.order_no, b.kiji_id;" ); } print $dbr->error_message; //テンプレートを使って表示 print $dbr->DispRowWithTemplate( true, false, false ); ?>