session_start(); require_once('../../Connections/affiliatemaketing.php'); //// 初期設定値 ///////////////////////////////////////// $cono = 6; $fthprice = 1000; $sthprice = 5000; $table = "conf2004_".$cono; /////////////////////////////////////////////////////////// mysql_select_db($database_affiliatemaketing, $affiliatemaketing); $query_Recordset1 = "SELECT * FROM $table"; $Recordset1 = mysql_query($query_Recordset1, $affiliatemaketing) or die(mysql_error()); $row_Recordset1 = mysql_fetch_assoc($Recordset1); $totalRows_Recordset1 = mysql_num_rows($Recordset1); #### 最大申込み数の設定 ####### $max_apply= 400;///2005/12/2 修正 $alart_point = 480; $alart_flug = 0; if($totalRows_Recordset1 >= $alart_point ){ $alart_flug = 1; } $query_Recordset1 = "SELECT * FROM members_master WHERE 1 AND email = '$_SESSION[user]' AND kanri_key = '$_SESSION[id]'"; $Recordset2 = mysql_query($query_Recordset1, $affiliatemaketing) or die(mysql_error()); $row_Recordset2 = mysql_fetch_assoc($Recordset2); $totalRows_Recordset2 = mysql_num_rows($Recordset2); ?>
include("../../include/menu.php"); ?> |