1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232
|
//#noautoflush
//#local gref_langs = xml_root(xml_open("site.xml"))
//#local gref_devices = xml_root(xml_open("devices.xml"))
//#local gref_footer = xml_get(xml_list(xml_root(xml_open("site.xml")),"footer"),0)
//#local gref_langs = xml_list(xml_get(xml_list(gref_langs,"languages"),0),"lang")
//#local gref_docRoot = xml_root(xml_open("games.xml"))
//#local gref_gamesList = xml_list(xml_get(xml_list(gref_docRoot,"games"),0),"game")
//#local gref_channelsList = xml_get(xml_list(gref_docRoot,"channels"),0)
//#local gref_ownersList = xml_get(xml_list(gref_docRoot,"owners"),0)
//#local gref_langIndex = 0
//#while gref_langIndex<xml_size(gref_langs)
//#local gref_curLangID = xml_attr(xml_get(gref_langs,gref_langIndex),"id")
//#local gref_curLangFooter = xml_text(xml_get(xml_list(gref_footer,gref_curLangID),0))
//#outdir gref_curLangID
//#local gref_curGameIndex = 0
//#while gref_curGameIndex<xml_size(gref_gamesList)
//#local gref_currentGameElement = xml_get(gref_gamesList,gref_curGameIndex)
//#local gref_currentGameScreens = xml_attr(gref_currentGameElement,"screens")
//#local gref_currentGameID = xml_attr(gref_currentGameElement,"id")
//#local gref_currentGameTitle = xml_attr(gref_currentGameElement,"title")
//#local gref_currentGameYear = xml_attr(gref_currentGameElement,"year")
//#local gref_currentGameDevices = xml_list(xml_get(xml_list(gref_currentGameElement,"devices"),0),"*")
//#local gref_currentGameReference =xml_text(xml_get(xml_list(xml_get(xml_list(gref_currentGameElement,"reference"),0),gref_curLangID),0))
//#local gref_currentOwnerElement = xml_get(xml_list(gref_ownersList,xml_attr(xml_get(xml_list(gref_currentGameElement,"owner"),0),"id")),0)
//#local gref_currentSalesList = xml_list(xml_get(xml_list(gref_currentGameElement,"sales"),0),"*")
//#local gref_pageName = "gpage_"+gref_currentGameID+".htm"
//#outname gref_pageName
//#echo Making game reference file /*$gref_pageName$*/
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>ColdCore(TM)//*$gref_currentGameTitle$*/</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
<LINK href="../cmn/styles2.css" type=text/css rel=stylesheet>
</head>
<body>
<table width="100%%" border="0" cellpadding="3" cellspacing="0" bgcolor="#CACAFF">
<tr>
<td width="120" align="center" valign="top"><table width="100%%" border="0" cellpadding="0" cellspacing="0" bgcolor="#5BB5F7">
<tr>
<td height="160"><div align="center"><img src="/*$"../games/"+gref_currentGameID+"_splash.jpg"$*/"><br>
</div></td>
</tr>
<tr>
<td align="left" valign="top">
//#if gref_curLangID=="rus"
<div class="gameinfoheadermin">ВЛАДЕЛЕЦ:</div>
//#else
<div class="gameinfoheadermin">OWNER:</div>
//#endif
<div><a href="/*$xml_attr(gref_currentOwnerElement,"link")$*/" target="_new" class="gameinfoheadermin">/*$str2web(xml_text(gref_currentOwnerElement))$*/</a></div>
<br>
//#if gref_curLangID=="rus"
<div class="gameinfoheadermin">ГОД ВЫПУСКА:</div>
//#else
<div class="gameinfoheadermin">PUBLICATION DATE:</div>
//#endif
<div><strong>/*$gref_currentGameYear$*/</strong></div>
<BR></td>
</tr>
<tr>
<td align="left">
//#if gref_curLangID=="rus"
<strong class="gameinfoheadermin">УСТРОЙСТВА:</strong>
//#else
<strong class="gameinfoheadermin">DEVICES:</strong>
//#endif
<hr align="center" noshade>
//#local gref_curDeviceIndex = 0
//#local gref_curDeviceName = ""
//#while gref_curDeviceIndex<xml_size(gref_currentGameDevices)
//#local gref_curDeviceElement = xml_get(gref_currentGameDevices,gref_curDeviceIndex)
//#local gref_curDeviceElementName = xml_name(gref_curDeviceElement)
//#local gref_curDeviceFamily = xml_attr(gref_curDeviceElement,"family")
//#local gref_curDeviceElementName = xml_get(xml_list(gref_devices,gref_curDeviceElementName),0)
//#local gref_curDeviceFamily = xml_text(xml_get(xml_list(gref_curDeviceElementName,gref_curDeviceFamily),0))
//#local gref_curDeviceElementName = xml_attr(gref_curDeviceElementName,"name")
//#if gref_curDeviceElementName!=gref_curDeviceName
//#local gref_curDeviceName = gref_curDeviceElementName
//#if gref_curDeviceIndex!=0
<br>
//#endif
<div class="devicename">/*$str2web(gref_curDeviceName)$*/</div>
//#endif
<div class="devicelist">/*$gref_curDeviceFamily$*/</div>
//#local gref_curDeviceIndex = gref_curDeviceIndex+1
//#end
</td></tr>
</table>
<br>
</td>
<td align="left" valign="top"><div align="center" class="gameinfoheader">/*$gref_currentGameTitle$*/<hr align="center" width="50%" noshade>
</div>
<table width="100%%" border="0" cellspacing="0" cellpadding="2">
<tr>
//#if strlen(gref_currentGameScreens)>0
//#local gref_curScreenLimit = str2int(gref_currentGameScreens)
//#else
//#local gref_curScreenLimit = 3
//#endif
//#local gref_curScreenIndex = 1
//#while gref_curScreenIndex<=gref_curScreenLimit
<td align="center" valign="middle"><div align="center"><img src="/*$"../games/"+gref_currentGameID+"_scr"+gref_curScreenIndex+".gif"$*/"></div></td>
//#local gref_curScreenIndex = gref_curScreenIndex+1
//#end
</tr>
</table>
<div class="alltext" align="justify"><br>/*$gref_currentGameReference$*/</div>
<hr>
<form method="post" action="../cmn/sendfeedback.phtml">
<table width=100% cellpadding=4 bgcolor="#C1E1F0" >
<tr>
<td bgcolor="#E6EEF7"> <div class="sendformref">
//#if gref_curLangID=="rus"
При помощи этой формы, Вы можете послать нам свое мнение, пожелание или описание проблемы по этому приложению. Это очень важно для нас!
//#else
The form enables you to send us your opinion, wish or problem description for the application. It's very important for us!
//#endif
</div>
</td>
</tr>
<tr>
<td width=100% valign=top>
<div class="sendformhdr">
//#if gref_curLangID=="rus"
Имя:
//#else
Name:
//#endif
</div>
<input name="fName" type="text" class="sendformfield" style="width:30%" size="64"><br>
<div class="sendformhdr">E-mail:</div>
<input name="fEmail" type="text" class="sendformfield" style="width:30%" value="" size="64">
</td>
</tr>
<tr>
<td> <div align="left" class="sendformhdr">
//#if gref_curLangID=="rus"
Сообщение:
//#else
Message:
//#endif
</div>
<div align="center">
<textarea name="fComment" rows="15" cols="50" class="sendformfield" style="width:100%"></textarea>
<input type="hidden" name="fTitle" value="/*$gref_currentGameTitle+"("+gref_currentGameID+")"$*/">
<input type="hidden" name="fSubject" value="A feedback from ColdCore.ru">
//#if gref_curLangID=="rus"
<input type="hidden" name="fOk" value="http://www.coldcore.ru/rus/send_ok.html">
<input type="hidden" name="fBad" value="http://www.coldcore.ru/rus/send_error.html">
//#else
<input type="hidden" name="fOk" value="http://www.coldcore.ru/eng/send_ok.html">
<input type="hidden" name="fBad" value="http://www.coldcore.ru/eng/send_error.html">
//#endif
<br>
//#if gref_curLangID=="rus"
<input type="submit" class="sendformhdr" value="Отправить" >
//#else
<input type="submit" class="sendformhdr" value="Send" >
//#endif
</div></td>
</tr>
</table>
</form>
</td>
<td width="120" align="right" valign="top"><table width="100%%" border="0" cellspacing="2" cellpadding="0">
<tr>
<td height="30" align="center" valign="middle" bgcolor="#7575FF">
<div align="center" class="gameinfoheadermin">
//#if gref_curLangID=="rus"
КУПИТЬ ИГРУ
//#else
PURCHASE
//#endif
</div>
</td>
</tr>
<tr>
<td bgcolor="#6698FF"><div align="center"><BR>
//#local gref_curSalesIndex=0
//#while gref_curSalesIndex<xml_size(gref_currentSalesList)
//#local gref_curSalesItem = xml_get(gref_currentSalesList,gref_curSalesIndex)
//#local gref_curChannel = xml_name(gref_curSalesItem)
//#local gref_curSalesCost = xml_attr(gref_curSalesItem,"cost")
//#local gref_curSalesProductpage = xml_attr(gref_curSalesItem,"productpage")
//#local gref_curChannelLogo = xml_get(xml_list(gref_channelsList,gref_curChannel),0)
//#local gref_curChannelName = xml_attr(gref_curChannelLogo,"name")
//#local gref_curChannelLogo = xml_attr(gref_curChannelLogo,"logo")
<a href="/*$gref_curSalesProductpage$*/" target="_new">
<img src="/*$gref_curChannelLogo$*/" border="0" alt="/*$gref_curSalesCost$*/">
</a>
//#local gref_curSalesIndex=gref_curSalesIndex+1
//#end
<BR>
</div></td>
</tr>
</table></td>
</tr>
<tr bgcolor="#FFFFFF">
<td colspan="3" align="center" valign="top"> <hr align="center" noshade>
<div>
<div align="justify" class="footer">/*$gref_curLangFooter$*/</div>
</div></td>
</tr>
</table>
</body>
</html>
//#flush
//#local gref_curGameIndex = gref_curGameIndex+1
//#end
//#local gref_langIndex = gref_langIndex+1
//#end
//#outname "null.txt"
|