|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /home/queenjbs/www/include/ |
Upload File : |
<?
include $_SERVER['DOCUMENT_ROOT']."/conf/conf_dir.php";
include $_SERVER['DOCUMENT_ROOT']."/schedule/myclass.inc";
$qry = "
SELECT
count(*),
substring(schedule_date,1,10) as schedule_date ,
substring(schedule_date,1,16) as YMDHIS
FROM
board_schedule
WHERE
is_delete='N'
GROUP BY schedule_date
";
$oci->query($qry);
while($oci->fetch_array())
{
$count = $oci->field(0); // count
$schedule_date = $oci->field(1); // schedule_date
$schedule_time = $oci->field(2); // schedule_time
$arrayCheck .= "'$schedule_date',";
}
// ScheckDate.lenth - 1 => all count
$SCRIPT .= "
var ScheckDate = new Array($arrayCheck'');
";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="viewport" content="width=1000" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta HTTP-EQUIV="imagetoolbar" CONTENT="no">
<title>JYJ japan official website</title>
</head>
<script src="http://www.jyjjapan.jp/schedule/js/jquery.js" type="text/javascript"></script>
<script language="javascript">AC_FL_RunContent = 0;</script>
<script src="/js/AC_RunActiveContent.js" language="javascript"></script>
<script type="text/javascript" src="/js/default.js"></script>
<?
include $_SERVER['DOCUMENT_ROOT']."/schedule/js/jquery-ui.inc";
?>
<script src="http://www.jyjjapan.jp/schedule/js/jquery.ui.datepicker-jp.js"></script>
<link type="text/css" href="/css/layout.css" rel="stylesheet" />
<link type="text/css" href="/css/sub_01.css" rel="stylesheet" />
<link type="text/css" href="/css/sub_02.css" rel="stylesheet" />
<link type="text/css" href="/css/member.css" rel="stylesheet" />
<link type="text/css" href="/css/schedule.css" rel="stylesheet" />
<!--[if IE 9]><link rel="stylesheet" type="text/css" href="/css/ie9Debug.css" /><![endif]-->
<!--[if IE 8]><link rel="stylesheet" type="text/css" href="/css/ie8Debug.css" /><![endif]-->
<!--[if IE 7]><link rel="stylesheet" type="text/css" href="/css/ie7Debug.css" /><![endif]-->
<!--[if IE 6]><link rel="stylesheet" type="text/css" href="/css/ie6Debug.css" /><![endif]-->
<link type="text/css" href="http://www.jyjjapan.jp/schedule/css/ui-lightness/jquery-ui-1.8.23.custom.css" rel="stylesheet" />
<script>
var type="";
function fade(div_id) {
if(type == "On") {
$('#'+div_id).fadeOut('slow');
type="";
}else{
$('#'+div_id).fadeIn('slow');
type="On";
}
}
function fade2(div_id) {
if(type == "On") {
$('#'+div_id).fadeOut('slow');
type="";
}else{
$('#'+div_id).fadeIn('slow');
type="On";
}
}
//var getState= parent.divframe.document.getElementById("player").PlayState;
</script>
<script type="text/javascript">
$(document).ready(function()
{
// calendar
$("#CAL_DISPLAY").datepicker({
showOtherMonths: true,
selectOtherMonths: true
});
// ajax post schedules
$("#CAL_DISPLAY").change(function()
{
var dataString = 'str='+ $(this).val();
$.ajax({
type : "post", // method
url : "../schedule/CalAjaxActive.html", // url
data : dataString, // name & value
cache: false, // cache
success: function(html) { // display
if(!html) html = "スケジュールがございません。"
$("#RESULT").html(html);
}
});
});
// drop&down menu
$(".slidingDiv").hide();
$(".SHOW_SCHEDULE").show();
$('.SHOW_SCHEDULE').click(function()
{
//alert("SHOW_SCHEDULE ~~~ ");
$("#RESULT").html(""); // hidden
if($('.slidingDiv').is(":visible"))
{
$(".SHOW_SCHEDULE").html("Schedule"); // <img src='???'> 을 정의 해도 가능
}
else
{
$(".SHOW_SCHEDULE").html("Close"); // <img src='???'> 을 정의 해도 가능
}
$(".slidingDiv").slideToggle();
});
$(".SHOW_SCHEDULE2").show();
$('.SHOW_SCHEDULE2').click(function()
{
//alert("SHOW_SCHEDULE ~~~ ");
$("#RESULT").html(""); // hidden
$('.slidingDiv').is(":visible");
if($('.slidingDiv').is(":visible")){
$(".SHOW_SCHEDULE").html("Schedule");
}else {
$(".SHOW_SCHEDULE").html("Close");
}
$(".slidingDiv").slideToggle();
});
});
</script>
<style>
.SHOW_SCHEDULE { z-index:99997; }
.slidingDiv {
z-index: 99998;
position: relative; /* relative, fixed, absolute, static */
/* background-color: #000000; */
width: 790px;
/*height: 530px;*/
display:block;
padding: 0px 0px 10px 0px;
margin-top:10px;
/*margin-bottom:10px;*/
/*border-bottom:5px solid #b30101;*/
}
.display {
z-index: 99999;
position: absolute;
width: 400px;
height:250px;
left: 0px;
top: 30px;
text-align: left;
line-height: 130%;
text-align: justify;
margin-top:0px;
}
#CAL_DISPLAY {
float:right;
width: 481px;
padding: 0px 0px 0px 0px;
/* left: 306px;*/
margin-top:10px;
margin-bottom:10px;
}
</style>
<body <?if($_SERVER['REQUEST_URI']!="/member/?tab=12&tabs=15" && $_SERVER['REQUEST_URI']!="/profile/?tab=2&tabs=1" ){echo "oncontextmenu='return false' ondragstart='return false' onselectstart='return false'";};?>>
<div id="wrap">
<div id="container">
<?
include $_SERVER['DOCUMENT_ROOT']."/include/right.html";
?>
<div id="content">
<div class="slidingDiv">
<div id="wrap_schedule_ls">
<div class="side-schedule-Left">
<h2><img src="/images/sub/sub_title_22.jpg" /></h2>
<p style="line-height:17px;">スケジュールをご覧になりたい場合は、カレンダー内の日付をクリックしてください。<br />スケジュールが登録されている場合は、日付がピンク色で表示されています。<br />(スケジュール内容は、2013年4月から表示されます。過去のスケジュールは表示されませんので、予めご了承くださいませ。)</p>
<!-- SCHEDULE TXT -->
<div id='RESULT'></div>
<!-- SCHEDULE TXT -->
</div>
<div id="CAL_DISPLAY" ></div>
</div>
</div>
<ul class="content_top">
<!--li class="vol">
<dl class="vol_cont">
<dd class="icon_on"></dd>
<!--dd class="txt">SOUND OFF </dd-->
<!--dd class="vol_line"><a href=""><div style="padding:0; margin-top:-3px; z-index:50;"><img src="/images/common/icon_volume.gif" /></div></a></dd>
</dl>
</li-->
<li class="btn_schedule"><a href="#" class="SHOW_SCHEDULE" style="color:#ffffff;">SCHEDULE</a></li>
<li class="btn_follow"> <a href="javascript:fade('sometext2');">FOLLOW</a></li>
<? //$topRegDate = get_db("SELECT max(reg_date) FROM board_news no desc");?>
<li class="update">updated <?=$topRegDate?></li>
</ul>
<div id="sometext2" style="position:absolute; margin-left:620px;margin-top:-18px;width:72px;height:19px;padding:0px;border:0px solid black;;z-index:900;display:none;">
<?$twimgSrc="/images/common/sidemenu_";?>
<a href="http://twitter.com/bornfreeonekiss" target="_blank"><img src="<?=$twimgSrc?>01_off.jpg" onMouseOver="this.src='<?=$twimgSrc?>01_on.jpg'" onMouseOut="this.src='<?=$twimgSrc?>01_off.jpg'"></a>
<!--a href="http://twitter.com/#!/6002theMicky" target="_blank"><img src="<?=$twimgSrc?>02_off.jpg" onMouseOver="this.src='<?=$twimgSrc?>02_on.jpg'" onMouseOut="this.src='<?=$twimgSrc?>02_off.jpg'"></a-->
<a href="http://twitter.com/#!/1215thexiahtic" target="_blank"><img src="<?=$twimgSrc?>03_off.jpg" onMouseOver="this.src='<?=$twimgSrc?>03_on.jpg'" onMouseOut="this.src='<?=$twimgSrc?>03_off.jpg'"></a>
</div>
<!-- /content_top -->
<div id="sometext" style="position:absolute; margin-left:475px;width:300px;height:300px;padding:5px;border:1px solid black;background-color: #fff;z-index:1000;display:none;">
calender
</div>