<!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd">

<!--#include file="mycartconn/conn.asp" -->
<!--#include file="mycartconn/Function.asp"-->
<!--#include file="mycartconn/ubbcode.asp"-->
<%
If request.Cookies(my_url)("huiyuan")="" or request.Cookies(my_url)("hypwd")="" Then
	response.redirect "login.asp"
	response.end
End If

Dim mofaheID
mofaheID=FilterJs(request("moliheid"))
If mofaheID="" Then
	response.redirect "index.asp"
	response.end
End If

sql="select * from A_slide where id="&Replace(mofaheid,"'","")&""
Set rs= Server.CreateObject("ADODB.Recordset")
rs.open sql,conn,1,1
If Not (rs.bof And rs.eof) Then
	If CLng(request.Cookies(my_url)("userid"))<>CLng(rs("userid")) Then
		response.write "<script>alert(""抱歉！这不是你的盒子！"");history.go(-1);</script>"
		response.end
	End If
	slide_music_name=rs("slide_music")
	If InStr(slide_music_name,"/")>0 Then slide_music_name=Split(slide_music_name,"/")(1)
Else
	response.redirect "index.asp"
	response.end
End If
%>
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta http-equiv="content-language" content="zh-cn" />
<meta name="Copyright" content="<%=my_name%>,<%my_copy%>,版权所有" />
<meta name="description" content="<%=my_name%>-中国第一电子相册制作提供商" />
<meta name="keywords" content="相册,电子相册,制作电子相册,制作软件平台" />
<meta content="all" name="robots" />
<title>电子相册制作-<%=my_name%>-图片<%=my_name%>秀制作软件</title>
<script type="text/javascript" src="js/get_config.asp"></script>
<script language="javascript" src="js/event.js"></script>
<script language="javascript" src="js/ajax.js"></script>
<script language="javascript" src="js/register.js"></script>
<script language="javascript" src="js/effect_new.js"></script>
<script src="js/flash_no.js" type="text/javascript"></script>
<script language="javascript" src="js/slide.js"></script>
<script type="text/javascript" src="js/img.friends.js"></script>
<script type="text/javascript" src="js/img.chkurl.js"></script>
<script language="javascript" src="nget/nget.js"></script>
<link href="common/css/main_xiu.css" rel="stylesheet" type="text/css" media="all" />
<link href="common/css/moliheMakeSlide.css" rel="stylesheet" type="text/css" />
<link href="css/moliheIframe.css" rel="stylesheet" type="text/css" />

<script language="javascript">
et = new events();
reg = new reg();
sl = new slide();

sl.setborder("<%=rs("slide_border")%>");
sl.settheme("<%=rs("slide_theme")%>");
sl.setstyle("<%=rs("slide_style")%>");
sl.setbackground("<%=rs("slide_background")%>");
sl.setbgcolor("<%=rs("slide_bgcolor")%>");
sl.setplay_mode("<%=rs("slide_play_mode")%>");
sl.setplus("<%=rs("slide_plus")%>");
sl.setimages("<%=FilterJs(replace(replace(replace(rs("slide_images"),"=",""),"(",""),")",""))%>");
sl.setmusic("<%=rs("slide_music")%>");
sl.setmusic_name("<%=slide_music_name%>");
sl.setmusic_id("<%=rs("slide_music_id")%>");
sl.setcaption_mode("<%=rs("slide_caption_mode")%>");
sl.setcaption_speed("<%=rs("slide_caption_speed")%>");
sl.setcaption_transparent("<%=rs("slide_caption_transparent")%>");
sl.setcaption_fontsize("<%=rs("slide_caption_fontsize")%>");
sl.setcaption_fontcolor("<%=rs("slide_caption_fontcolor")%>");
sl.setcaption_bgcolor("<%=rs("slide_caption_bgcolor")%>");
sl.setmoliheid("<%=mofaheID%>");
sl.setwidth("<%=rs("slide_width")%>");
sl.setheight("<%=rs("slide_height")%>");



var FlashVars = sl.getvars();





function closewin(){

	//alert("abc");

	//return false;

}



var playtype_div  = 0;

function setit()

{

	if(playtype_div == 0 ){ document.getElementById('playType').style.visibility='visible'; playtype_div = 1;}

	else{ document.getElementById('playType').style.visibility='hidden'; playtype_div = 0;}

}



window.onbeforeunload = function(ev){

	ev = ev || window.event;

	if((ev.clientY<0||ev.clientY>document.documentElement.clientHeight)&&sl.getimagecounts()>0){

		ev.returnValue = "<%=my_name%>提示您：如果关闭这个页面，你刚才做的相册就找不到了";

	}

}



function setheadlink(){
	var obj = document.getElementById("header").getElementsByTagName("a");
	for(var i=0;i<obj.length;i++){
		if(obj[i].href.indexOf("javascript:")==-1){
			obj[i].setAttribute("target","_blank");
		}
	}
}
function setloginandreg(){
	document.getElementById("top_login").href = "javascript:et.login(4);";
	document.getElementById("top_reg").href = "javascript:et.register(4);";
}



window.onload = function(){

	setheadlink();

    

	document.onmousedown = sl.mouseDown;

	document.onmouseup = sl.mouseUp;

	document.onmousemove = sl.mouseMove;

	var bodywidth = window.screen.width-21;

	document.body.style.width=bodywidth+"px";

	sl.setup();

	

	sl.Flash_Reload();

<%
	slide_tmp_images=rs("slide_images")
	splitStr="{p}1"
	If InStr(slide_tmp_images,"{p}2")>0 Then splitStr="{p}2"
	If InStr(slide_tmp_images,"{p}3")>0 Then splitStr="{p}3"
	If InStr(slide_tmp_images,"{p}4")>0 Then splitStr="{p}4"
	Arrimgs=Split(slide_tmp_images,splitStr)
	For i=0 To UBound(Arrimgs)-1
		If InStr(Arrimgs(i),"{p}")>0 Then
			tempTitle=FilterJs(strleft(Replace(Split(Arrimgs(i),"{p}")(0),"{img}",""),20))
		%>
			sl.addphoto("<%=tempTitle%>","<%=FilterJs(Split(Arrimgs(i),"{p}")(1))%>","1");
		<%
		Else%>
			sl.addphoto("请输入字幕","<%=FilterJs(Arrimgs(i))%>","1");
		<%
		End if
	next
%>


	sl.displaytc(group[0]);

	showButtons();

	if (helpobj) helpobj.style.visibility = 'visible';

	//if(!et.GetCookie('visited')){

	//	et.closeHelp();

	//}	



}

function showButtons(){
	document.getElementById('buttons_area_1').style.display='';
	//document.getElementById('buttons_area_2').style.display='';
	document.getElementById('tab_area_1').style.display='';
	document.getElementById('effect_title').style.visibility='visible';
}
</script>

<style type="text/css">
/*FLASH区域*/
.previewFLASH{background-color:#fff;   border:1px solid #A5D3FF;}
.previewFLASH_tit{ color:#3985d9; font-size:14px; height:25px; line-height:25px;padding:4px 4px 0 10px; }
.previewFLASH_tit span{ font-size:12px; font-weight:normal; padding-left:5px;}
.previewFLASH_tit a{float:right; font-size:12px; font-weight:normal; padding-right:10px; text-decoration:none;  background:url(images/makestep.gif) 5px 5px no-repeat; padding-left:22px; display:block;}
.previewFLASH_con{padding:4px;}
/*按钮区域*/
.buttonsArea{margin:5px auto 10px auto; font-size:0px; position:relative; z-index:7; width:960px; padding-left:5px;}
.buttonsArea img{ margin-right:8px;}
.buttonsArea .del{text-decoration:none;  margin-right:30px; background:url(images/makedel.gif) 5px 0px no-repeat; padding-left:22px; position:absolute; top:15px; left:220px;}
.buttonsArea img.lttx{ margin-right:105px;}

/*2008-7-23 12:14:41*/
.layer_effect_make_wrap{position:relative; z-index:9; height:0;}
#layer_effect_make{position:absolute; z-index:11; width:520px; height:320px;}
.layer_effect_make{margin:0; padding:0; position:absolute; background:#000; z-index:9; opacity:.6; -moz-opacity:.6;  filter:progid:DXImageTransform.Microsoft.Alpha(opacity=60); width:100%; height:100%; top:0; left:0; text-align:center;}
.layer_effect_make .Fdiv{width:80%; border:1px solid #FFFFFF; background-color:#FFFFFF; margin:120px auto; padding:20px 0;}

</style>

</head>
<body>
<!-- 头部begin -->
<script type="text/javascript" id="loginOrnot"></script>
<script type="text/javascript" src="js/login.js"></script>
<div class="headerWarp">
	<!--#include file="menu.asp" -->
</div>
<div class="infoWarp">
	<div id="info">
    	<img src="images/index_radiate.gif" style="position:absolute; top:0; left:0;" />
        <div class="call_board">
			<script type="text/javascript" src="js/call_board_msg.js"></script>
            <script type="text/javascript" src="js/call_board.js"></script>
    	</div>
        <div class="loginWarp" id="newuser"><script type="text/javascript">login_register();</script></div>
    </div>
</div><!-- 头部end -->
<!-- 正文begin -->
<!-- 预览和特效begin -->
<div id="main_960_02">
<div style="float:left; width:426px;">
    <div class="previewFLASH">
        <h2 class="previewFLASH_tit"><a href="stepbystep.asp" target="_blank">跟我学</a>作品预览<span>(保存后即可与朋友分享)</span></h2>
		<div class="previewFLASH_con" id="flash_slide">
		<script id="flash_js" type="text/javascript">
         AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,19,0','width','416','height','312','src','main','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','main','FlashVars',FlashVars,'wmode','opaque','id','mainFlash' );
        </script>
		</div>
    </div><!--.previewFLASH end-->
</div>
  <div class="xiu_02">
    <div id="tab_area_1" class="xiu_04" style="display:none;">
      <ul class="xiu_05" id="effect_menu">
        <li class="xiu_06"><a href="javascript:sl.displaytc(group[0]);yhtj('664367');">人气套餐</a></li>
        <li><a href="javascript:sl.displayeffect('border',1,0);yhtj('664337');">外 框</a></li>
        <li><a href="javascript:sl.displayeffect('theme',2,0);yhtj('664339');">装 饰</a></li>
        <li><a href="javascript:sl.displayeffect('style',3,0);yhtj('664343');">特 效</a></li>
        <li><a href="javascript:sl.displaymusic();yhtj('664345');">音 乐</a></li>
        <li><a href="javascript:sl.displayeffect('background',5,0);yhtj('664348');">背 景</a></li>
        <li><a href="javascript:sl.displaysubeffect('plus',plus);yhtj('664349');">仿 旧</a></li>
        <li><a href="javascript:sl.displaycaption();yhtj('664350');">字 幕</a></li>
      </ul>
    </div>
    <div class="xiu_07">

      <div class="layer_effect_make_wrap">
          <div id="layer_effect_make" class="displayN">
             <div class="Fdiv">
                当前选项仅限于在相册的幻灯模式！<br /><br />
                <a href="javascript:sl.playmodelayer(1);">点这里进入幻灯模式</a>
            </div>
          </div>
      </div>

      <div class="float_left w100 margin_top margin_bottom f666666" id="effect_title" style="visibility:hidden;">选择一个套餐，我们将为您自动搭配出一个图片<%=my_name%>秀哦！一键到位！ </div>
      <div class="clear"></div>
      <div class="xiu_08" id="effect_area" style="height:278px; overflow:auto; width: 515px;">
        <div style="background:url(images/loading3.gif) no-repeat 140px 0;padding:170px 0 0; width:95%;border:none;text-align:center;">正在加载, 如果长时间无响应请<a href="javascript:location.reload();">刷新</a>...</div>
      </div>
      <div class="clear"></div>
    </div>
  </div>
  <div class="clear"></div>
</div>
<!-- 预览和特效end -->
<div class="buttonsArea" id="buttons_area_1" style="display:none;">
	<div style="position:relative;">
    <a href="javascript:sl.delalleffect();yhtj('664333');" class="del">清除效果</a>
    <a href="javascript:et.open_upload_z('upload','down');"><img id="make_pic" src="images/makeZHtjtp_on.gif" alt="添加图片"  title="添加图片" /></a>
    <a href="javascript:yhtj('664371');" onClick="setit()"><img class="lttx" src="images/makeZHlttx.gif" alt="立体特效"  title="立体特效" /></a>
    <a href="javascript:sl.editslide_save();"><img id="save_pic" src="images/makeZHbc.gif" alt="保存"  title="保存"  /></a></div>
        <div style="position: absolute;visibility:hidden; " class="alertDiv" id="playType">
          <div class="playType">
            <div class="bar">
              <div class="close" onClick="javascript:document.getElementById('playType').style.visibility='hidden';" style="margin-top: 5px; margin-right: 3px;"></div>
              播放类型选择</div>
            <div style="clear:both; font-size:0px;">&nbsp;</div>
            <ul>
              <li id="play_mode_a" class="action">
                <dl>
                  <dt><a href="javascript:sl.seteffect('play_mode','1');"><img src="images/x_39.gif"/></a></dt>
                  <dd id="play_mode_a_txt"><a href="javascript:sl.seteffect('play_mode','1');">幻灯片播放</a></dd>
                  <dd>(最佳图片数：<span>30</span>)</dd>
                </dl>
              </li>
              <li id="play_mode_b">
                <dl>
                  <dt><a href="javascript:sl.seteffect('play_mode','2');"><img src="images/x_40.gif"/></a></dt>
                  <dd id="play_mode_b_txt"><a href="javascript:sl.seteffect('play_mode','2');">旋转立方体</a></dd>
                  <dd>(最佳图片数：<span>6</span>)</dd>
                </dl>
              </li>
              <li id="play_mode_c">
                <dl>
                  <dt><a href="javascript:sl.seteffect('play_mode','3');"><img src="images/x_43.gif"/></a></dt>
                  <dd id="play_mode_c_txt"><a href="javascript:sl.seteffect('play_mode','3');">立体墙特效</a></dd>
                  <dd>(最佳图片数：<span>10</span>)</dd>
                </dl>
              </li>
              <li id="play_mode_d">
                <dl>
                  <dt><a href="javascript:sl.seteffect('play_mode','4');"><img src="images/x_42.gif"/></a></dt>
                  <dd id="play_mode_d_txt"><a href="javascript:sl.seteffect('play_mode','4');">旋转屏风特效</a></dd>
                  <dd>(最佳图片数：<span>8</span>)</dd>
                </dl>
              </li>
            </ul>
          </div>
        </div>
</div>


<!-- 图片编辑区域begin -->
<div class="bk_style_957 main_960_10" id="img_wrap">
  <div class="bk_style_top_1">
    <div class="float_left_bianjiqu"> 选择图片后，您可以在此输入图片字幕、拖拽调整顺序。</div>
    <div class="float_right_bianjiqu"> <a href="javascript:sl.delallphotos();">删除所有图片</a> | <a href="javascript:sl.delallfonts();">清除所有字幕</a></div>
  </div>
  <div class="bk_style_middle">
    <!--内容区域 begin-->
    <div class="align_center lineheight180" id="drag_area">
      <div id="dragHelper" style="display:none"></div>
      <div class="clear"></div>
    </div>
    <!--内容区域 end-->
  </div>
  <div class="bk_style_bottom">&nbsp;</div>
</div>
<!-- 图片编辑区域end -->
<!-- 正文end -->
<div id="yhtongji">

<script type="text/javascript">
function yhtj(element){document.getElementById('yhtongji').innerHTML = '<img src="http://img.tongji.cn.yahoo.com/'+element+'/ystat.gif">';}
</script>

</div>
<script language="javascript" src="js/help.js"></script>
<img src="yhtj/ystat.gif" width="0" height="0" />
<script src="/count2/mystat.asp?siteid=2"></script>
</body>
</html>
<%
rs.close
Set rs=Nothing
conn.close
Set conn=Nothing
%>