Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <%@LANGUAGE="VBSCRIPT" CODEPAGE="1254"%>
- <%
- Option Explicit
- dbK1 = true
- %>
- <!--#include file="admin/inc/ayarlar.asp"-->
- <%
- Set db = Server.CreateObject("ADODB.Connection")
- db.Mode = 3
- db.ConnectionTimeout = 5
- db.Open(dsn)
- function baslik(str)
- str = Server.HTMLEncode(str)
- str = Replace(str," ","-")
- str = Replace(str,"'","-")
- str = Replace(str,"Ğ","G")
- str = Replace(str,"Ü","U")
- str = Replace(str,"Ş","S")
- str = Replace(str,"İ","I")
- str = Replace(str,"Ö","O")
- str = Replace(str,"Ç","C")
- str = Replace(str,"ğ","g")
- str = Replace(str,"ü","u")
- str = Replace(str,"ş","s")
- str = Replace(str,"ı","i")
- str = Replace(str,"ö","o")
- str = Replace(str,"ç","c")
- baslik = Trim(str)
- end function
- if dV = "main" or dV = "muzik" or dV = "about" or dV = "iletisim" or dV = "dt1" or dV = "dt2" or dV = "arkaplan" or dV = "homepage" then
- %><?xml version="1.0" encoding="iso-8859-9"?><%
- end if
- if dV = "" then dV = "anasayfa" end if
- if dV = "anasayfa" then
- %>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=windows-1254">
- <title>Bugra AYDIN PHOTOGRAPHY</title>
- <script type="text/javascript" src="js/swfobject.js"></script>
- <script type="text/javascript" src="js/swfaddress.js"></script>
- <link href="css/tema.css" rel="stylesheet" type="text/css" />
- </head>
- <body>
- <div id="site">Flash Oynatıcınızın Sürümünü Güncellemeniz Gerekmektedir...</div>
- <script type="text/javascript">
- // <![CDATA[
- var so = new SWFObject("index.swf", "index-flash", "100%", "100%", "8", "#000000");
- so.addVariable("xml", "default.asp?sy=main&time="+new Date().getTime());
- so.addParam("quality", "best");
- so.addParam('swLiveConnect', 'true');
- so.addParam('allowScriptAccess', 'always');
- so.addParam('allowFullScreen', 'true');
- so.write("site");
- // ]]>
- </script>
- </body>
- </html>
- <%
- end if
- if dV = "main" then
- Set rs = db.execute("Select * from t_genel where id = 1")
- if Not rs.EOF then
- %>
- <main>
- <settings>
- <urlTitleSeparator>-</urlTitleSeparator>
- <templateMaxWidth>224</templateMaxWidth>
- <templateMaxHeight>300</templateMaxHeight>
- <logoAddress><%=("icerik/dosya/"&rs("logoadres"))%></logoAddress>
- <correctLogoXPos><%=rs("logopozx")%></correctLogoXPos>
- <correctLogoYPos><%=rs("logopozy")%></correctLogoYPos>
- <menuPosition><%=rs("menupoz")%></menuPosition>
- <correctMenuXpos><%=rs("menupozx")%></correctMenuXpos>
- <correctMenuYPos><%=rs("menupozy")%></correctMenuYPos>
- <displayTopGraphic><%=rs("uresim")%></displayTopGraphic>
- <displayBottomGraphic><%=rs("aresim")%></displayBottomGraphic>
- <displayModuleBehindGraphic><%=rs("modularkaresim")%></displayModuleBehindGraphic>
- <displayModuleTitleGraphic><%=rs("modulbaslikresim")%></displayModuleTitleGraphic>
- <enableFullScreenButton><%=rs("tamekran")%></enableFullScreenButton>
- <backgroundSlideShowXmlFile>default.asp?sy=arkaplan</backgroundSlideShowXmlFile>
- <copyrightTitle>
- <![CDATA[<%=rs("copymesaj")%> <a href="<%=rs("copylink")%>"> <%=rs("copylinkad")%></a> ]]>
- </copyrightTitle>
- <copyrightLeftMinSpace>50</copyrightLeftMinSpace>
- <copyrightRightMinSpace>50</copyrightRightMinSpace>
- <mp3PlayerSwf>mp3player.swf</mp3PlayerSwf>
- <mp3PlayerXml>default.asp?sy=muzik</mp3PlayerXml>
- <mp3PlayerAdjustXPos>0</mp3PlayerAdjustXPos>
- <mp3PlayerAdjustYPos>10</mp3PlayerAdjustYPos>
- <moduleXPosition><%=rs("modulpoz")%></moduleXPosition>
- <moduleAdjustXPosition><%=rs("modulpozx")%></moduleAdjustXPosition>
- <moduleShowAnimationTime>.<%=rs("modulhizgiris")%></moduleShowAnimationTime>
- <moduleShowAnimationType><%=rs("modulanigiris")%></moduleShowAnimationType>
- <moduleHideAnimationTime>.<%=rs("modulhizcikis")%></moduleHideAnimationTime>
- <moduleHideAnimationType><%=rs("modulanicikis")%></moduleHideAnimationType>
- <toggleTooltip><%=rs("tooltip")%></toggleTooltip>
- <tooltipXCorrect><%=rs("tooltipx")%></tooltipXCorrect>
- <tooltipYCorrect><%=rs("tooltipy")%></tooltipYCorrect>
- <fsButtonOpenCaption><%=rs("tamekrangoster")%></fsButtonOpenCaption>
- <fsButtonCloseCaption><%=rs("tamekrangizle")%></fsButtonCloseCaption>
- <mainMenuMovingBgAnimationTime>0.<%=rs("menuarkahiz")%></mainMenuMovingBgAnimationTime>
- <mainMenuMovingBgAnimationType>easeOutQuart</mainMenuMovingBgAnimationType>
- </settings>
- <mainMenu>
- <settings>
- <firstLevelButtonWidth><%=rs("menubutongenislik")%></firstLevelButtonWidth>
- <firstLevelButtonHeight><%=rs("menubutonyukseklik")%></firstLevelButtonHeight>
- <secondLevelButtonWidth>0</secondLevelButtonWidth>
- <secondLevelButtonHeight>6</secondLevelButtonHeight>
- <subMenuXDistance>0</subMenuXDistance>
- <subMenuYDistance>35</subMenuYDistance>
- <subMenuAddedWidth>20</subMenuAddedWidth>
- <subMenuMaxHeight>150</subMenuMaxHeight>
- <subMenuOpenAnimTime>0.5</subMenuOpenAnimTime>
- <subMenuOpenAnimType>easeoutexpo</subMenuOpenAnimType>
- <scrollerAccelerationMultiplier>5</scrollerAccelerationMultiplier>
- </settings>
- <content><%
- Set rs3 = db.execute("Select * from t_as_genel where id = 1")
- if Not rs3.EOF then
- Response.Write("<button title="""&rs3("d15")&""" swfData=""anasayfa.swf?xml=default.asp%3Fsy%3Dhomepage"" urlTitle="""&rs3("d15")&""" url=""/"&baslik(rs3("d15"))&"/"" externalLink=""0"" hiddenModule=""0"" toggleSubMenu=""0"" type=""""><subMenu></subMenu></button>")
- end if
- rs3.Close
- Set rs3 = Nothing
- Set rs3 = db.execute("Select * from t_hakkimizda where id = 1")
- if Not rs3.EOF then
- Response.Write("<button title="""&rs3("baslik")&""" swfData=""about.swf?xml=default.asp%3Fsy%3Dabout"" urlTitle="""&rs3("baslik")&""" url=""/"&baslik(rs3("baslik"))&"/"" externalLink=""0"" hiddenModule=""0"" toggleSubMenu=""0"" type=""""><subMenu></subMenu></button>")
- end if
- rs3.Close
- Set rs3 = Nothing
- Set rs3 = db.execute("Select * from t_p_genel where id = 1")
- if Not rs3.EOF then
- Response.Write("<button title="""&rs3("pbaslik")&""" swfData=""gallery.swf?xml=default.asp%3Fsy%3Ddt1"" urlTitle="""&rs3("pbaslik")&""" url=""/"&baslik(rs3("pbaslik"))&"/"" externalLink=""0"" hiddenModule=""0"" toggleSubMenu=""0"" type=""""><subMenu></subMenu></button>")
- Response.Write("<button title="""&rs3("vbaslik")&""" swfData=""gallery.swf?xml=default.asp%3Fsy%3Ddt2"" urlTitle="""&rs3("vbaslik")&""" url=""/"&baslik(rs3("vbaslik"))&"/"" externalLink=""0"" hiddenModule=""0"" toggleSubMenu=""0"" type=""""><subMenu></subMenu></button>")
- end if
- rs3.Close
- Set rs3 = Nothing
- %><button title="Hidden Links" swfData="" urlTitle="Hidden Links" url="" hiddenModule="1" toggleSubMenu="1" type=""><subMenu></subMenu></button><%
- Set rs3 = db.execute("Select * from t_iletisim where id = 1")
- if Not rs3.EOF then
- Response.Write("<button title="""&rs3("baslik")&""" swfData=""contact.swf?xml=default.asp%3Fsy%3Diletisim"" urlTitle="""&rs3("baslik")&""" url=""/"&baslik(rs3("baslik"))&"/"" externalLink=""0"" hiddenModule=""0"" toggleSubMenu=""0"" type=""""><subMenu></subMenu></button>")
- end if
- rs3.Close
- Set rs3 = Nothing
- %>
- </content>
- </mainMenu>
- <shoppingCart>
- <settings>
- <moduleWidth>0</moduleWidth>
- <moduleHeight>0</moduleHeight>
- </settings>
- </shoppingCart>
- <shareOptions>
- <settings>
- <enabled>1</enabled>
- <correctPosX>30</correctPosX>
- <correctPosY>2</correctPosY>
- <bigButtonsWidth>25</bigButtonsWidth>
- <bigButtonsHeight>28</bigButtonsHeight>
- <spaceBetweenBigButtons>5</spaceBetweenBigButtons>
- <toggleTooltip>1</toggleTooltip>
- <tooltipXCorrect>13</tooltipXCorrect>
- <tooltipYCorrect>10</tooltipYCorrect>
- <correctSmallListXPos>0</correctSmallListXPos>
- <correctSmallListYPos>3</correctSmallListYPos>
- <smallListWidth>195</smallListWidth>
- <animationTimeForSmallList>0.5</animationTimeForSmallList>
- <animationTypeForSmallList>easeoutexpo</animationTypeForSmallList>
- <animationTimeCloseForSmallList>0.5</animationTimeCloseForSmallList>
- <animationTypeCloseForSmallList>easeinexpo</animationTypeCloseForSmallList>
- <smallButtonsWidth>16</smallButtonsWidth>
- <smallButtonsHeight>16</smallButtonsHeight>
- <spaceBetweenSmallButtons>6</spaceBetweenSmallButtons>
- <scrollerAccelerationMultiplierForSmallList>2</scrollerAccelerationMultiplierForSmallList>
- </settings>
- <contentBigButtons><%
- Set rs2 = db.execute("Select * from t_sosyal where gg = true order by sira asc")
- do while not rs2.EOF
- Response.Write("<item url="""&rs2("adres")&""" target="""&rs2("adrestur")&""" src=""./icerik/sosyal/"&rs2("resim")&"""><![CDATA["&rs2("ad")&"]]></item>")
- rs2.Movenext
- Loop
- rs2.Close
- Set rs2 = Nothing
- %></contentBigButtons>
- </shareOptions>
- </main>
- <%
- end if
- rs.Close
- Set rs = Nothing
- end if
- if dV = "muzik" then
- Set rs = db.execute("Select * from t_muzik where id = 1")
- if Not rs.EOF then
- %>
- <mp3player>
- <settings>
- <playlistWidth><%=rs("d02")%></playlistWidth>
- <playlistHeight><%=rs("d03")%></playlistHeight>
- <autoPlay><%=rs("d04")%></autoPlay>
- <onCompleteJumpToNext><%=rs("d05")%></onCompleteJumpToNext>
- <shuffleSongs><%=rs("d06")%></shuffleSongs>
- <initialVolume><%=rs("d07")%></initialVolume>
- <bufferTime><%=rs("d08")%></bufferTime>
- <showPlayerEnlargedAtLoad>0</showPlayerEnlargedAtLoad>
- <showPlaylistEnlargedAtLoad>0</showPlaylistEnlargedAtLoad>
- <scrollerAccelerationMultiplier><%=rs("d10")%></scrollerAccelerationMultiplier>
- <playlistTitleCaption><%=rs("d09")%></playlistTitleCaption>
- <shuffleOnCaption><%=rs("d11")%></shuffleOnCaption>
- <shuffleOffCaption><%=rs("d12")%></shuffleOffCaption>
- <repeatOnCaption><%=rs("d13")%></repeatOnCaption>
- <repeatOffCaption><%=rs("d14")%></repeatOffCaption>
- <closePlayerCaption><%=rs("d15")%></closePlayerCaption>
- <openPlayerCaption><%=rs("d16")%></openPlayerCaption>
- <infoCaption><%=rs("d17")%></infoCaption>
- <nextSongCaption><%=rs("d18")%></nextSongCaption>
- <prevSongCaption><%=rs("d19")%></prevSongCaption>
- <setVolumeCaption><%=rs("d20")%></setVolumeCaption>
- <setVolumePer>%</setVolumePer>
- <muteCaption><%=rs("d21")%></muteCaption>
- <unmuteCaption><%=rs("d22")%></unmuteCaption>
- <playSongCaption><%=rs("d23")%></playSongCaption>
- <pauseSongCaption><%=rs("d24")%></pauseSongCaption>
- <closePlaylistCaption><%=rs("d25")%></closePlaylistCaption>
- <openPlaylistCaption><%=rs("d26")%></openPlaylistCaption>
- <seekToCaption><%=rs("d27")%></seekToCaption><%
- Set rs2 = db.execute("Select * from t_mliste where gg = true order by sira asc")
- if rs2.EOF then
- Response.Write("<togglePlayer>0</togglePlayer>")
- else
- Response.Write("<togglePlayer>"&rs("d01")&"</togglePlayer>")
- end if
- Response.Write("</settings><playlist>")
- do while not rs2.EOF
- Response.Write("<song><url>./icerik/mk/"&rs2("d03")&"</url><songname>"&rs2("d02")&"</songname><artist>"&rs2("d01")&"</artist></song>")
- rs2.Movenext
- Loop
- rs2.Close
- Set rs2 = Nothing
- %></playlist>
- </mp3player>
- <%
- end if
- rs.Close
- Set rs = Nothing
- end if
- if dV = "about" then
- Set rs = db.execute("Select * from t_hakkimizda where id = 1")
- if Not rs.EOF then
- %>
- <homepage>
- <settings>
- <moduleWidth><%=rs("genislik")%></moduleWidth>
- <moduleHeight><%=rs("yukseklik")%></moduleHeight>
- <moduleMainTitle><%=TRkrk(rs("baslik"))%></moduleMainTitle>
- </settings>
- <content>
- <![CDATA[<%=TRkrk(rs("mesaj"))%>]]>
- </content>
- </homepage>
- <%
- end if
- rs.Close
- Set rs = Nothing
- end if
- if dV = "iletisim" then
- Set rs = db.execute("Select * from t_iletisim where id = 1")
- if Not rs.EOF then
- %>
- <contact>
- <settings>
- <moduleWidth><%=rs("genislik")%></moduleWidth>
- <moduleHeight><%=rs("yukseklik")%></moduleHeight>
- <moduleMainTitle><%=rs("baslik")%></moduleMainTitle>
- <contactNameCaption><%=rs("d01")%></contactNameCaption>
- <contactEmailCaption><%=rs("d02")%></contactEmailCaption>
- <contactSubjectCaption><%=rs("d03")%></contactSubjectCaption>
- <contactMessageCaption><%=rs("d04")%></contactMessageCaption>
- <contactSendButtonCaption><%=rs("d05")%></contactSendButtonCaption>
- <attachButtonCaption>Dosya Ekle</attachButtonCaption>
- <attachButtonBrowsingCaption>Dosya Seç...</attachButtonBrowsingCaption>
- <enableAttachFileButton>0</enableAttachFileButton>
- <toggleContactNameRequired><%=rs("d14")%></toggleContactNameRequired>
- <toggleContactMessageRequired><%=rs("d15")%></toggleContactMessageRequired>
- <toggleSubjectRequired><%=rs("d16")%></toggleSubjectRequired>
- <sendingMessageText><%=rs("d06")%></sendingMessageText>
- <succesText><%=rs("d07")%></succesText>
- <failText><%=rs("d08")%></failText>
- <wrongNameText><%=rs("d09")%></wrongNameText>
- <wrongEmailText><%=rs("d10")%>.</wrongEmailText>
- <wrongSubjectText><%=rs("d11")%></wrongSubjectText>
- <wrongMessageText><%=rs("d12")%></wrongMessageText>
- <script>default.asp?sy=gmesaj</script>
- <uploadScript></uploadScript>
- <allowedExtensionsForUpload>doc|pdf|docx|html</allowedExtensionsForUpload>
- <descriptionForUploadFileTypes>Kabul Edilen Dosya Uzantylary:</descriptionForUploadFileTypes>
- <wrongExtensionAlert>Hataly Dosya Uzantysy. Kabul Edilen Dosya Uzantylar:</wrongExtensionAlert>
- <htmlFieldWidth>240</htmlFieldWidth>
- </settings>
- <content>
- <![CDATA[<%=rs("d13")%>]]>
- </content>
- <additionalLinks><%
- Set rs2 = db.execute("Select * from t_eklink where gg = true order by sira asc")
- do while not rs2.EOF
- Response.Write("<item title="""&rs2("baslik")&""" url="""&rs2("adres")&"""><![CDATA["&rs2("icerik")&"]]></item>")
- rs2.Movenext
- Loop
- rs2.Close
- Set rs2 = Nothing
- %></additionalLinks>
- </contact>
- <%
- end if
- rs.Close
- Set rs = Nothing
- end if
- if dV = "gmesaj" then
- Dim gMesaj, gOnay, tdchk1, tdchk2, tchk1, tchk2
- gOnay = true
- gMesaj = fltr(Request.Form("message"))
- Set rs = db.execute("Select * from t_mesajlar where ip1 = '"&ip1&"' order by tarih desc")
- If Not rs.EOF Then
- tdchk1 = Day(rs("tarih"))&"."&Month(rs("tarih"))&"."&Year(rs("tarih"))
- tdchk2 = Day(Now)&"."&Month(Now)&"."&Year(Now)
- If tdchk1 = tdchk2 Then
- tchk1 = Hour(rs("tarih"))*60+Minute(rs("tarih"))+4
- tchk2 = Hour(Now)*60+Minute(Now)
- If tchk1 < tchk2 Then
- gOnay = true
- Else
- gOnay = false
- End If
- End If
- End If
- if gMesaj = "" then gOnay = false end if
- if gOnay then
- db.execute("Insert into t_mesajlar(d01,d02,d03,d04,tarih,ip1,ip2) values('"&fltr(Request.Form("name"))&"','"&fltr(Request.Form("email"))&"','"&fltr(Request.Form("subject"))&"','"&gMesaj&"','"&DateDMY&"','"&ip1&"','"&ip2&"')")
- eposta fPosta,aPosta,aBsl,("<b> « YENi MESAJ »</b><br><br><b>Kimden : </b>"&fltr(Request.Form("name"))&"[ "&fltr(Request.Form("email"))&" ]<br><b>Tarih : </b>"&DateDMY&"<br><b>Konu : </b>"&fltr(Request.Form("subject"))&"<br><b>Mesaj : </b><br>"&gMesaj)
- Response.Write("status=ok")
- end if
- end if
- if dV = "dt1" or dV = "dt2" then
- dim tPS, tPSIO, vTur
- if dV = "dt1" then
- tPS = true
- tPSIO = 1
- else
- tPS = false
- tPSIO = 0
- end if
- 'picture,thumb,music,video,flash,youtube
- function tAdr(ms1,ms2,ms3,ms4,ms5,ms6,ms7)
- if ms7 = "audio" then
- tAdr = Array(("icerik/foto/kucuk/"&ms2),("icerik/muzik/"&ms3),("icerik/foto/buyuk/"&ms1))
- elseif ms7 = "image" then
- tAdr = Array(("icerik/foto/kucuk/"&ms2),("icerik/foto/buyuk/"&ms1),"")
- elseif ms7 = "video" then
- tAdr = Array(("icerik/foto/kucuk/"&ms2),("icerik/video/"&ms4),"")
- elseif ms7 = "youtube" then
- tAdr = Array(("icerik/foto/kucuk/"&ms2),ms6,"")
- elseif ms7 = "swf" then
- tAdr = Array(("icerik/foto/kucuk/"&ms2),("icerik/flash/"&ms5),"")
- end if
- end function
- Set rs = db.execute("Select * from t_p_genel where id = 1")
- if Not rs.EOF then
- %>
- <gallery>
- <settings>
- <moduleWidth><%=rs("genislik")%></moduleWidth>
- <moduleHeight><%=rs("yukseklik")%></moduleHeight>
- <moduleMainTitle><%
- if tPS then Response.Write(rs("pbaslik")) else Response.Write(rs("vbaslik")) end if
- %></moduleMainTitle>
- <maxNumberOfButtonsOnTopMenu><%=rs("kategorisayi")%></maxNumberOfButtonsOnTopMenu>
- <horizontalSpaceOnTopMenuButtons><%=rs("kategoribosluk")%></horizontalSpaceOnTopMenuButtons>
- <topMaskInitializationAnimationTime>2</topMaskInitializationAnimationTime>
- <topMaskInitializationAnimationType>easeoutquart</topMaskInitializationAnimationType>
- <topMaskAnimationTime>0.5</topMaskAnimationTime>
- <topMaskAnimationType>easeoutquart</topMaskAnimationType>
- <detailsShowAnimationTime>0.<%=rs("glgirhiz")%></detailsShowAnimationTime>
- <detailsShowAnimationType>easeoutquart</detailsShowAnimationType>
- <detailsHideAnimationTime>0.<%=rs("glcikhiz")%></detailsHideAnimationTime>
- <detailsHideAnimationType>easeoutquart</detailsHideAnimationType>
- </settings>
- <content><%
- Set rs2 = db.execute("Select * from t_kategori where type = "&tPS&" order by sira asc")
- do while not rs2.EOF
- %>
- <item title="<%=rs2("ad")%>" browserUrl="/<%=baslik(rs2("ad"))%>-<%=rs2("sira")%>/" browserTitle="<%=rs2("ad")%>">
- <productsDisplay>
- <settings>
- <thumbWidth><%=rs("miniw")%></thumbWidth>
- <thumbHeight><%=rs("minih")%></thumbHeight>
- <toggleProportionalResizeOnThumb>1</toggleProportionalResizeOnThumb>
- <proportionalResizeType>fit</proportionalResizeType>
- <horizontalSpace><%=rs("miniwara")%></horizontalSpace>
- <verticalSpace><%=rs("minihara")%></verticalSpace>
- <graphWidth>35</graphWidth>
- <graphHeight>35</graphHeight>
- <videoGraf>IDvideoGraph</videoGraf>
- <pictureGraf>IDimageGraph</pictureGraf>
- <swfGraf>IDswfGraph</swfGraf>
- <audioGraf>IDmusicGraph</audioGraf>
- <youtubeGraf>IDvideoGraph</youtubeGraf>
- <videoCaption><%=rs("bsvid")%></videoCaption>
- <youtubeCaption><%=rs("bsyt")%></youtubeCaption>
- <imageCaption><%=rs("bsimg")%></imageCaption>
- <audioCaption><%=rs("bsmsc")%></audioCaption>
- <swfCaption><%=rs("bsswf")%></swfCaption>
- <enableAutoCentering>0</enableAutoCentering>
- <horizontalNumberOfItems><%=rs("minihrnr")%></horizontalNumberOfItems>
- <verticalNumberOfItems>3</verticalNumberOfItems>
- <scrollAnimationTime>0.5</scrollAnimationTime>
- <scrollAnimationType>easeoutquart</scrollAnimationType>
- <toggleTooltip><%=rs("tooltip")%></toggleTooltip>
- <enableTooltipAutoCorrectX>0</enableTooltipAutoCorrectX>
- <tooltipXCorrect>30</tooltipXCorrect>
- <tooltipYCorrect>10</tooltipYCorrect>
- <popupWidth><%=rs("pw")%></popupWidth>
- <popupHeight><%=rs("ph")%></popupHeight>
- <animationAlpha><%=rs("ptrans")%></animationAlpha>
- <animationScale>100</animationScale>
- <popupProtectTransparency>90</popupProtectTransparency>
- <popupProtectAnimationTime>0.9</popupProtectAnimationTime>
- <popupShowAnimationTime>0.<%=rs("pshowhiz")%></popupShowAnimationTime>
- <popupShowAnimationType><%=rs("pshowani")%></popupShowAnimationType>
- <popupHideAnimationTime>0.<%=rs("phidehiz")%></popupHideAnimationTime>
- <popupHideAnimationType><%=rs("phideani")%></popupHideAnimationType>
- <popupResizeAnimationTime>0.<%=rs("preshiz")%></popupResizeAnimationTime>
- <popupResizeAnimationType><%=rs("presani")%></popupResizeAnimationType>
- </settings>
- <content><%
- Set rs3 = db.execute("Select * from t_foto where kt = "&rs2("id")&" order by sira asc")
- do while not rs3.EOF
- vTur = tAdr(rs3("aRes"),rs3("kRes"),rs3("mp3Adr"),rs3("videoAdr"),rs3("swfAdr"),rs3("youAdr"),rs3("tur"))
- %>
- <item thumb="<%=vTur(0)%>">
- <tooltipData><![CDATA[<%=rs3("tooltip")%>]]></tooltipData>
- <pupupData title="<%=rs3("ad")%>" browserUrl="/<%=baslik(rs3("ad"))%>-<%=rs3("sira")%>/" browserTitle="<%=rs3("ad")%>">
- <image toggleImage="1" imageAddress="<%=vTur(1)%>" audioArtwork="<%=vTur(2)%>" videoTitle="<%=rs3("ad")%>">
- <autoResize><%=rs3("d01")%></autoResize>
- <fixedSizeWidth><%=rs3("d02")%></fixedSizeWidth>
- <fixedSizeHeight><%=rs3("d03")%></fixedSizeHeight>
- <resizeMode><%=rs3("d04")%></resizeMode>
- <autoplay><%=rs3("d05")%></autoplay>
- <repeat><%=rs3("d06")%></repeat>
- <initialVolume><%=rs3("d07")%></initialVolume>
- <launchUrlOnPress><%=rs3("adres")%></launchUrlOnPress>
- <targetUrlOnPress><% if rs3("adres") <> "" then Response.Write(rs3("adrestur")) end if %></targetUrlOnPress>
- </image>
- <description toggleDescription="<%=rs3("ackgg")%>" descriptionWidth="<%=rs3("ackgns")%>"><![CDATA[<%=rs3("ack")%>]]></description>
- </pupupData>
- </item>
- <%
- rs3.Movenext
- Loop
- rs3.Close
- Set rs3 = Nothing
- %>
- </content>
- </productsDisplay>
- </item>
- <%
- rs2.Movenext
- Loop
- rs2.Close
- Set rs2 = Nothing
- %>
- </content>
- </gallery>
- <%
- end if
- end if
- if dV = "arkaplan" then
- Set rs = db.execute("Select * from t_a_genel where id = 1")
- if Not rs.EOF then
- %>
- <backgroundModule>
- <settings>
- <animationTime><%=rs("d02")%></animationTime>
- <animationType><%=rs("d03")%></animationType>
- <random><%=rs("d04")%></random>
- <resizeMode><%=rs("d05")%></resizeMode>
- <imageFinalAlphaValue><%=rs("d06")%></imageFinalAlphaValue>
- <activateSlideshow><%=rs("d07")%></activateSlideshow>
- <slideShowTimer><%=rs("d08")%></slideShowTimer>
- <%
- Set rs2 = db.execute("Select * from t_arkaplan where gg = true order by sira asc")
- if rs2.EOF then
- Response.Write("<activateDynamicBackground>0</activateDynamicBackground>")
- else
- Response.Write("<activateDynamicBackground>"&rs("d01")&"</activateDynamicBackground>")
- end if
- Response.Write("</settings><content>")
- do while not rs2.EOF
- Response.Write("<item src="""&fDizin(rs2("ads"))&""&rs2("adr")&"""></item>")
- rs2.Movenext
- Loop
- rs2.Close
- Set rs2 = Nothing
- %></content>
- </backgroundModule>
- <%
- end if
- rs.Close
- Set rs = Nothing
- end if
- if dV = "homepage" then
- Set rs = db.execute("Select * from t_as_genel where id = 1")
- if Not rs.EOF then
- %>
- <homepage>
- <settings>
- <moduleWidth><%=(rs("d03")+55)%></moduleWidth>
- <moduleHeight><%
- Dim aAs, sGG
- aAs = Array(0,0)
- Set rs2 = db.execute("Select count(*) as sayac from t_anasayfa where gg = true")
- if (NOT rs2.EOF) and rs2("sayac") < 2 then
- sGG = 0
- else
- if rs("d13") = 0 then
- sGG = 0
- else
- sGG = 1
- end if
- end if
- rs2.Close
- Set rs2 = Nothing
- if rs("d02") = "" then aAs(0) = 75 end if
- if sGG = 0 then aAs(1) = 15 end if
- Response.Write(rs("d04")+45-aAs(0)-aAs(1)) %></moduleHeight>
- <moduleMainTitle><%=rs("d02")%></moduleMainTitle>
- </settings>
- <content>
- <scrollerBox>
- <settings>
- <thumbWidth><%=rs("d03")%></thumbWidth>
- <thumbHeight><%=rs("d04")%></thumbHeight>
- <horizontalSpace><%=rs("d05")%></horizontalSpace>
- <toggleProportionalResizeOnThumb><%=rs("d06")%></toggleProportionalResizeOnThumb>
- <proportionalResizeType><%=rs("d07")%></proportionalResizeType>
- <activateSlideshow><%=rs("d08")%></activateSlideshow>
- <anaAnimasyon><%=rs("d09")%></anaAnimasyon>
- <anaSure><%=rs("d10")%></anaSure>
- <gecisSure>0.<%=rs("d11")%></gecisSure>
- <icerikAlpha><%=rs("d12")%></icerikAlpha>
- <scrollGG><%=sGG%></scrollGG>
- <scrollAlpha><%=rs("d14")%></scrollAlpha>
- <%
- Set rs2 = db.execute("Select * from t_anasayfa where gg = true order by sira asc")
- if rs2.EOF then
- Response.Write("<enableAnasayfa>0</enableAnasayfa>")
- else
- Response.Write("<enableAnasayfa>"&rs("d01")&"</enableAnasayfa>")
- end if
- Response.Write("</settings><content>")
- do while not rs2.EOF
- Response.Write("<item src="""&fDizin(rs2("ads"))&""&rs2("adr")&""" url="""&rs2("url")&""" target="""&rs2("target")&"""></item>")
- rs2.Movenext
- Loop
- rs2.Close
- Set rs2 = Nothing
- %></content>
- </scrollerBox>
- </content>
- </homepage><%
- end if
- rs.Close
- Set rs = Nothing
- end if
- db.Close
- Set db = Nothing
- %>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement