//☆.。.:*・°☆.。.:*・°☆.。.:*・°☆.。.:*・°☆
//
// Shopping02+mobile Webショッピングサイト
//
//★ Shopping02+mobile[2009/2/21]
//★ PHPのバージョンはPHP4以上(PHP4 >= 4.0.6)で動作
//★ 特徴
// ・管理画面でできること・・・
// @商品カテゴリーの設定
// Aお届け方法・料金の設定
// Bお支払い方法・料金の設定
// C商品登録・変更・削除
// D注文の確認・お客様へのメール送信
// Eページデザイン設定
// ・商品ページでできること・・・
// *PC用・携帯用ページともに、可能
// @商品一覧、新着商品、各商品の表示
// Aカートへの商品出し入れ
// Bお客様情報の入力・精算・注文メール送信
// Cサイトへのお問い合わせフォーム
// D商品検索
// *PC用のみ可能
// E各商品に対するお問い合わせ
//★ 使用方法
// ・http://kf-net.info/shop_how2/
// ・設置方法、詳細は上記アドレスにアクセスされ、マニュアルをご確認ください。
//
//「like pigs in clover」
//http://spaces.msn.com/in-clover/
//like_pigs_in_clover@hotmail.co.jp
//
//☆.。.:*・°☆.。.:*・°☆.。.:*・°☆.。.:*・°☆
//サイト情報の呼び出し
$file = "./dat/dat.php";
$files = array();
if (file_exists($file)) {
$lines = file($file);
foreach ($lines as $line) {
$files[] = trim($line);
}
$s_name=$files[0];
$s_url=$files[1];
$s_mail=$files[2];
$s_dname=$files[3];
$s_ad=$files[4];
$s_tel=$files[5];
$s_fax=$files[6];
}
$s_name = stripslashes($s_name);
$s_dname = stripslashes($s_dname);
$s_ad = stripslashes($s_ad);
?>
//☆.。.:*・°☆.。.:*・°☆.。.:*・°☆.。.:*・°☆
//
// Shopping02+mobile Webショッピングサイト
//
//★ Shopping02+mobile[2009/2/21]
//★ PHPのバージョンはPHP4以上(PHP4 >= 4.0.6)で動作
//★ 特徴
// ・管理画面でできること・・・
// @商品カテゴリーの設定
// Aお届け方法・料金の設定
// Bお支払い方法・料金の設定
// C商品登録・変更・削除
// D注文の確認・お客様へのメール送信
// Eページデザイン設定
// ・商品ページでできること・・・
// *PC用・携帯用ページともに、可能
// @商品一覧、新着商品、各商品の表示
// Aカートへの商品出し入れ
// Bお客様情報の入力・精算・注文メール送信
// Cサイトへのお問い合わせフォーム
// D商品検索
// *PC用のみ可能
// E各商品に対するお問い合わせ
//★ 使用方法
// ・http://kf-net.info/shop_how2/
// ・設置方法、詳細は上記アドレスにアクセスされ、マニュアルをご確認ください。
//
//「like pigs in clover」
//http://spaces.msn.com/in-clover/
//like_pigs_in_clover@hotmail.co.jp
//
//☆.。.:*・°☆.。.:*・°☆.。.:*・°☆.。.:*・°☆
//カテゴリーチェック!!
$file = "./admin/item/cate_$cate.php";
$files = array();
if (file_exists($file)) {
}
else{
//アクセスエラー表示
header("Location: ./htaccess/file_not_found.html");
exit;
}
//カテゴリー名の取得
$file2 = "./admin/admin2/dat/cate_name.php";
$files2 = array();
if (file_exists($file2)) {
$lines2 = file($file2);
foreach($lines2 as $line2) {
$line2 = rtrim($line2);
$items2 = explode("\t", $line2);
if( strcmp($items2[0],$cate)==0 ){
$cate_name=$items2[1];
$cate_name = stripslashes($cate_name);
}
else{
}
}
}
//商品情報の呼び出し
$file2 = "./admin/item/cate_$cate.php";
$files2 = array();
if (file_exists($file2)) {
$lines2 = file($file2);
foreach($lines2 as $line2) {
$line2 = rtrim($line2);
$items2 = explode("\t\t", $line2);
if($no == $items2[1]){
$cate=$items2[0];
$s_no=$items2[1];
$name=$items2[2];
$nedan=$items2[3];
$text1=$items2[4];
$p_img1=$items2[5];
$p_img2=$items2[6];
$p_img3=$items2[7];
$kosuu=$items2[8];
$day=$items2[9];
$sent1=$items2[10];
$sent1_1=$items2[11];
$sent1_2=$items2[12];
$sent1_3=$items2[13];
$sent1_4=$items2[14];
$sent1_5=$items2[15];
$sent2=$items2[16];
$sent2_1=$items2[17];
$sent2_2=$items2[18];
$sent2_3=$items2[19];
$sent2_4=$items2[20];
$sent2_5=$items2[21];
$text1 = stripslashes($text1);
$name = stripslashes($name);
$sent1 = stripslashes($sent1);
$sent1_1 = stripslashes($sent1_1);
$sent1_2 = stripslashes($sent1_2);
$sent1_3 = stripslashes($sent1_3);
$sent1_4 = stripslashes($sent1_4);
$sent1_5 = stripslashes($sent1_5);
$sent2 = stripslashes($sent2);
$sent2_1 = stripslashes($sent2_1);
$sent2_2 = stripslashes($sent2_2);
$sent2_3 = stripslashes($sent2_3);
$sent2_4 = stripslashes($sent2_4);
$sent2_5 = stripslashes($sent2_5);
$no_check="OK";
}
}
}
//画像の設定
if( strcmp($p_img1,"no_img")==0 ){
$img1= "";
}
else{
$img1= "
*クリックすると、大きい画像で表示されます";
}
if( strcmp($p_img2,"no_img")==0 ){
$img2= "";
}
else{
$img2= "
";
}
if( strcmp($p_img3,"no_img")==0 ){
$img3= "";
}
else{
$img3= "
";
}
//選択項目設定
if($sent1==""){
}
else{
$sentaku_pre1="
$name |
|