$height){ if($width > 320){ $percent = 320 / $width; } }elseif($width < $height){ if($height > 240){ $percent = 240 / $height; } }else{ if($width > 320){ $percent = 320 / $width; } if($height > 240){ $percent = 240 / $height; } } if($percent > 0){ $new_width1 = $width * $percent; $new_height1 = $height * $percent; if($new_height1>240){ $percent = 240 / $height; $new_width1 = $width * $percent; $new_height1 = $height * $percent; } }else{ $new_width1 = $width; $new_height1 = $height; } } if(file_exists("$u2")){ $img2flg=1; $percent=0; //画像サイズ自動変更処理 list($width, $height) = getimagesize("$u2"); if($width > $height){ if($width > 320){ $percent = 320 / $width; } }elseif($width < $height){ if($height > 240){ $percent = 240 / $height; } }else{ if($width > 320){ $percent = 320 / $width; } if($height > 240){ $percent = 240 / $height; } } if($percent > 0){ $new_width2 = $width * $percent; $new_height2 = $height * $percent; if($new_height2>240){ $percent = 240 / $height; $new_width1 = $width * $percent; $new_height1 = $height * $percent; } }else{ $new_width2 = $width; $new_height2 = $height; } } if(file_exists("$u3")){ $img3flg=1; $percent=0; //画像サイズ自動変更処理 list($width, $height) = getimagesize("$u3"); if($width > $height){ if($width > 320){ $percent = 320 / $width; } }elseif($width < $height){ if($height > 240){ $percent = 240 / $height; } }else{ if($width > 320){ $percent = 320 / $width; } if($height > 240){ $percent = 240 / $height; } } if($percent > 0){ $new_width3 = $width * $percent; $new_height3 = $height * $percent; if($new_height3>240){ $percent = 240 / $height; $new_width1 = $width * $percent; $new_height1 = $height * $percent; } }else{ $new_width3 = $width; $new_height3 = $height; } } if($img1flg=="" and $img2flg=="" and $img3flg==""){ if(_S == 1){ header("Location: http://www.jhayashida.co.jp/prime/error_album.php"); }elseif(_S == 0){ header("Location: http://localhost/public/prime/error_album.php"); } exit; } ?> マウスだけで簡単に作れる ブログワン
" border=0 width= height=>
" border=0 width= height=>
" border=0 width= height=>
" border=0 width= height=>
" border=0 width= height=>
" border=0 width= height=>
" border=0 width= height=>
" border=0 width= height=>
▼アルバム詳細
作成者 :/ target=_blank>さん
タイトル:
作成日時:
■コメント■

",$f_com); $g_com = $f_com; $g_id=_hs($rec['id']); $g_link=_hs($rec['url']); if($g_id!=""){ $sql=""; $sql.="select name from profile where id = '$g_id' "; $mqa = mysql_query($sql,$conn); if($rec2 = mysql_fetch_array($mqa)){ $g_name=$rec2['name']; if($g_name==""){ $g_name=$g_id; } } }else{ $g_name=_hs($rec['c_name']); } echo "
"; if($g_link!=""){ echo "
"; echo "
${g_name}さんのコメント"; echo mb_substr($g_data,0,4)."/"; echo mb_substr($g_data,4,2)."/"; echo mb_substr($g_data,6,2)." "; echo mb_substr($g_data,8,2).":".mb_substr($g_data,10,2).":".mb_substr($g_data,12,2); echo "
"; echo "
"; echo "$g_com"."
"; }else{ if($g_id!=""){ echo "
"; echo "
${g_name}さんのコメント"; echo mb_substr($g_data,0,4)."/"; echo mb_substr($g_data,4,2)."/"; echo mb_substr($g_data,6,2)." "; echo mb_substr($g_data,8,2).":".mb_substr($g_data,10,2).":".mb_substr($g_data,12,2); echo "
"; echo "
"; echo "$g_com"."
"; }else{ echo "
"; echo "
${g_name}さんのコメント"; echo mb_substr($g_data,0,4)."/"; echo mb_substr($g_data,4,2)."/"; echo mb_substr($g_data,6,2)." "; echo mb_substr($g_data,8,2).":".mb_substr($g_data,10,2).":".mb_substr($g_data,12,2); echo "
"; echo "
"; echo "$g_com"."
"; } } echo "
"; } if($_SESSION['error'][0]){ $cname=$_SESSION['cname']; $curl=$_SESSION['curl']; $ccom=$_SESSION['ccom']; $cdkey=$_SESSION['cdkey']; echo "
"; for($i=0;$_SESSION['error'][$i]!="";$i++){ $error=$_SESSION['error'][$i]; echo "・"."$error"."
"; } echo "
"; echo "

▼コメントを書く
"; echo "
"; echo "名前"; echo "
"; echo "URLhttp://www."; echo "
あなたのブログ・ホームページのURLを記入して下さい。(例)blogone.jp/"; if($mbu!=""){ echo "
あなたのブログワンURL:jhayashida.co.jp/prime/${mbu}/"; echo "
コピーしてURLのテキストボックスへ貼り付けて下さい。"; } echo "
"; echo "コメント
"; echo ""; echo "
"; echo "削除キー"; echo "
※削除キーはあなたが記入したコメントを削除するときに必要になりますので必ずご記入下さい。
※ここで入力したキーを入力してから削除ボタンを押すとあなたのコメントを削除することが出来ます。"; echo "
"; echo "

"; unset($_SESSION['cerror']); unset($_SESSION['cname']); unset($_SESSION['curl']); unset($_SESSION['ccom']); unset($_SESSION['cdkey']); }elseif($nc[$i]!=1){ $cname = $_COOKIE['Pmmp-comcname']; $url = $_COOKIE['Pmmp-comurl']; $dkey = $_COOKIE['Pmmp-comdkey']; echo "

▼コメントを書く
"; echo "
"; echo "名前"; echo "
"; echo "URLhttp://www."; echo "
あなたのブログ・ホームページのURLを記入して下さい。(例)blogone.jp/"; if($mbu!=""){ echo "
あなたのブログワンURL:jhayashida.co.jp/prime/${mbu}/"; echo "
コピーしてURLのテキストボックスへ貼り付けて下さい。"; } echo "
"; echo "コメント
"; echo ""; echo "
"; echo "削除キー"; echo "
※削除キーはあなたが記入したコメントを削除するときに必要になりますのでご記入下さい。
※ここで入力したキーを入力してから削除ボタンを押すとあなたのコメントを削除出来ます。"; echo "
"; echo "

"; } echo "
"; ?>