require("load/functions.php") ;
require("load/db_load.php") ;
require("load/php_setting.php") ;
require("load/ua_cat.php") ;
// 変数宣言&初期化
$cate = "" ; $pref = "" ; $sozai = "" ; $color = "" ;
// クッキー確認
$fv = "" ; $fv_rireki = "" ;
if (isset($_COOKIE['fv_rireki'])){
$fv_rireki = $_COOKIE['fv_rireki'] ;
}
// テストクッキー
$test_cookie = "" ;
if (isset($_COOKIE['test_cookie'])){
$test_cookie = f_escape($_COOKIE['test_cookie']) ;
}
#setcookie("test_cookie", "abc", time()+60*60, "/");
$cate = "" ; $pref ="" ; $sozai = "" ; $color = "" ;
if (isset($_GET["cate"])){ $cate = htmlspecialchars($_GET["cate"], ENT_QUOTES, "utf-8") ; }
if (isset($_GET["pref"])){ $pref = htmlspecialchars($_GET["pref"], ENT_QUOTES, "utf-8") ; }
if (isset($_GET["sozai"])){ $sozai = htmlspecialchars($_GET["sozai"], ENT_QUOTES, "utf-8") ; }
if (isset($_GET["color"])){ $color = htmlspecialchars($_GET["color"], ENT_QUOTES, "utf-8") ; }
if (isset($_POST["cate"])){ $cate = htmlspecialchars($_POST["cate"], ENT_QUOTES, "utf-8") ; }
if (isset($_POST["pref"])){ $pref = htmlspecialchars($_POST["pref"], ENT_QUOTES, "utf-8") ; }
if (isset($_POST["sozai"])){ $sozai = htmlspecialchars($_POST["sozai"], ENT_QUOTES, "utf-8") ; }
if (isset($_POST["color"])){ $color = htmlspecialchars($_POST["color"], ENT_QUOTES, "utf-8") ; }
if ((!$cate)and(!$pref)and(!$sozai)and(!$color)){
$toppage = "Y" ;
} else if ($cate){
$title_text = $cate." | " ;
} else if ($pref){
$title_text = $pref." | " ;
} else if ($sozai){
$title_text = $sozai." | " ;
} else if ($color){
$title_text = $color." | " ;
}
// ワードプレスと接続
require('/home/sites/heteml/users/g/a/j/gajabase/web/tsubasa7.com/doc/wp-load.php');
if ($ua_cat !="sp"){ require_once("/home/sites/heteml/users/g/a/j/gajabase/web/tsubasa7.com/doc/wp-content/themes/pc/header.php") ; }
else { require_once("/home/sites/heteml/users/g/a/j/gajabase/web/tsubasa7.com/doc/wp-content/themes/sp/header.php") ; }
?>
製造業・プロダクトデザイナー・メイカーズのためのWebカタログサービス
無料登録して実績をアピールできます!
製造・デザイン実績、作品カテゴリー
製造業、プロダクトデザイナー、メイカーズの「実績・作品カタログ」サービスの中から、「試作・少ロット」に対応しているユーザーの実績・作品を検索できます。登録はこちらから。(全国OK)
require("page_parts/category.php") ;
foreach($cat_arr_A as $c){
$alink = "" ;
if ($c=="製造カテゴリー"){ $alink = "list.php?mode=cat&v1=".urlencode($c) ; } else if ($c=="商品カテゴリー") { $alink = "list.php?mode=syohin&v1=".urlencode($c) ; }
echo "
\n" ;
if ($cat_arr_B[$c]){
foreach($cat_arr_B[$c] as $cc){
if ($cc){
echo "
\n" ;
echo "
\n" ;
echo "
\n" ;
if ($cat_arr_C[$c][$cc]){
foreach($cat_arr_C[$c][$cc] as $ccc){
if ($ccc){
echo "- ".$ccc."
\n" ;
}
}
}
echo "
\n" ;
echo "
\n" ;
}
}
}
}
?>
お知らせ

$blog_arr = array() ;
$rssdata = simplexml_load_file("http://tsubasa7.com/doc/feed/");
$blogtitle = $rssdata->channel->title ;
$bloglink = $rssdata->channel->link ;
for($i=0; $i<5; $i++){
$thisdate = $rssdata->channel->item[$i]->pubDate ;
$thisdate = strtotime($thisdate);
$pubdate = date('Y.m.d h:i:s',$thisdate) ;
$linkurl = $rssdata->channel->item[$i]->link;
$linktitle = $rssdata->channel->item[$i]->title;
$desc = $rssdata->channel->item[$i]->description;
$desc_len = mb_strlen($desc) ;
$desc = strip_tags($desc) ;
$category = $rssdata->channel->item[$i]->category;
$blog_arr[] = $pubdate."<>".$bloglink."<>".$blogtitle."<>".$linkurl."<>".$linktitle."<>".$desc."<>".$category ;
}
rsort($blog_arr) ;
?>
for ($i=0; $i<5; $i++){
$v_arr = explode("<>",$blog_arr[$i]) ;
$date = $v_arr[0] ; $date_arr = explode(" ",$date) ; $d_arr = explode(".",$date_arr[0]) ;
$bloglink = $v_arr[1] ;
$blogtitle = $v_arr[2] ;
$linkurl = $v_arr[3] ;
$linktitle = $v_arr[4] ;
$desc = $v_arr[5] ;
$category = $v_arr[6] ;
if ($linktitle){
if ($category == "更新情報"){ $this_css = "news_category update" ; }
else if ($category == "メディア掲載"){ $this_css = "news_category media" ; }
else if ($category == "イベント"){ $this_css = "news_category event" ; }
else { $this_css = "news_category news" ; }
?>
-
年月日
}
}
?>
$cnt = 0 ;
$k = 0 ;
$rfile = file_get_contents("file/view_ranking_1week.php") ;
$rfile_arr = explode("\n",$rfile) ;
foreach($rfile_arr as $v){
$temp_arr = explode("<>", $v) ;
$this_iNAM = $temp_arr[0] ;
$todays_viewcnt = $temp_arr[1] ;
$temp_arr2 = explode("_", $this_iNAM) ;
$this_cID = $temp_arr2[0] ;
$this_number = $temp_arr2[1] ;
$row2 = array() ;
$sql2 = "SELECT * FROM data WHERE iNAM = '".$this_iNAM."' ;" ;
$res2 = mysql_query($sql2, $conn) or die("データ抽出エラー");
$row2 = mysql_fetch_array($res2, MYSQL_ASSOC) ;
if (isset($row2["cID"])){
if ($row2["public"]!="N"){
$cnt++ ;
$k++ ;
if ($k>4){ $k = 1 ; }
if ($k == 4){ $addclass = " class=\"mr0\"" ; } else { $addclass = "" ; }
$this_fv = $this_iNAM." " ;
if (strstr($fv_rireki,$this_fv)){ $fvicon = "

" ; }
else { $fvicon = "

" ; }
$pvicon = "

" ;
?>

- /
}
}
if ($cnt>=12){ break ; }
}
?>
$cnt = 0 ;
$k = 0 ;
$rfile = file_get_contents("file/like_ranking_1week.php") ;
$rfile_arr = explode("\n",$rfile) ;
foreach($rfile_arr as $v){
$temp_arr = explode("<>", $v) ;
$this_iNAM = $temp_arr[0] ;
$todays_goodcnt = $temp_arr[1] ;
$temp_arr2 = explode("_", $this_iNAM) ;
$this_cID = $temp_arr2[0] ;
$this_number = $temp_arr2[1] ;
$row2 = array() ;
$sql2 = "SELECT * FROM data WHERE iNAM = '".$this_iNAM."' ;" ;
$res2 = mysql_query($sql2, $conn) or die("データ抽出エラー");
$row2 = mysql_fetch_array($res2, MYSQL_ASSOC) ;
if (isset($row2["cID"])){
if ($row2["public"]!="N"){
$cnt++ ;
$k++ ;
if ($k>4){ $k = 1 ; }
if ($k == 4){ $addclass = " class=\"mr0\"" ; } else { $addclass = "" ; }
$this_fv = $row2["iNAM"]." " ;
if (strstr($fv_rireki,$this_fv)){ $fvicon = "

" ; }
else { $fvicon = "

" ; }
$pvicon = "

" ;
?>

- /
}
}
if ($cnt>=12){ break ; }
}
?>
新着ユーザー
$sql3 = "SELECT * FROM makers ORDER by regDAY DESC ;" ;
$res3 = mysql_query($sql3, $conn) or die("データ抽出エラー");
while ($row3 = mysql_fetch_array($res3, MYSQL_ASSOC)) {
if ($row3["faceimg"]){ $faceimg = "/base/members/uploads/id-".$row3["cID"]."/face-120.".$row3["faceimg"] ; }
else { $faceimg = "/base/members/image/person.gif" ; }
?>
![]()
}
?>