%@ Language = 'VbScript' LCID=1049 CodePage=1251 EnableSessionState=True%>
<% Option Explicit %>
<%
Response.CharSet = "windows-1251"
%>
<%
cnn.Open Application("ConnectionString")
Randomize
'defining the global variables
dim site_id, page_id, strSQL
site_id=51
page_id=247
Dim QP_IsInStageMode
QP_IsInStageMode = False
'define response properties
Response.AddHeader "publisher", "Quantum Art's Q-Publishing 7.6 Wed, 16 Sep 2009 11:27:32 GMT"
Response.Expires = -1000
Response.CacheControl = "Private"
Response.AddHeader "Pragma", "no-cache"
Response.AddHeader "cache-control", "no-cache, no-store, must-revalidate"
dim upload_url, base_upload_url, published_status_type_id, object_call_depth
Dim AbsUploadURL, UploadURLPrefix, PublishedStatusName
Dim QP_IsInFrontend
QP_IsInFrontend = True
dim object_call_stack(20)
upload_url = "/eng/upload/images"
site_url = "/eng/live/"
base_upload_url = "/eng/upload/"
object_call_depth = 0
published_status_type_id=GetMaximumWeightStatusTypeId(51)
PublishedStatusName=GetMaximumWeightStatusTypeName(51)
FillValues
Private Sub object1118O()
err.clear
%>Compositions<%
If Err.Number <> 0 Then
Response.write("Unable to display object 'заголовок' correctly!
Details: " & err.description)
End If
End Sub
Private Sub object1119O()
err.clear
%><%Object("akdal.CSS")%><%
If Err.Number <> 0 Then
Response.write("Unable to display object 'css' correctly!
Details: " & err.description)
End If
End Sub
Private Sub object1116O()
err.clear
%><% Object("Компоновка")%><%
If Err.Number <> 0 Then
Response.write("Unable to display object 'центральная часть' correctly!
Details: " & err.description)
End If
End Sub
Private Sub object977TO()
err.clear
%>
<%
If Err.Number <> 0 Then
Response.write("Unable to display object 'css' correctly!
Details: " & err.description)
End If
End Sub
Private Sub object1117O()
err.clear
Dim FieldValuesDictionaryLocal, FieldNamesDictionaryLocal, ContainerInfoLocal
Dim FieldValuesDictionaryBackup, FieldNamesDictionaryBackup, ContainerInfoBackup
Set FieldValuesDictionaryLocal = CreateObject("Scripting.Dictionary")
Set FieldNamesDictionaryLocal = CreateObject("Scripting.Dictionary")
Set ContainerInfoLocal = New ContainerInfoClass
If IsObject(FieldValuesDictionary) Then Set FieldValuesDictionaryBackup = FieldValuesDictionary
If IsObject(FieldNamesDictionary) Then Set FieldNamesDictionaryBackup = FieldNamesDictionary
If IsObject(ContainerInfo) Then Set ContainerInfoBackup = ContainerInfo
Set FieldValuesDictionary = FieldValuesDictionaryLocal
Set FieldNamesDictionary = FieldNamesDictionaryLocal
Set ContainerInfo = ContainerInfoLocal
ContainerInfo.ContentID = 398
ContainerInfo.ContentName = "Самолеты компоновка"
AddValue "dynamicContentNameSource", "CONTENT_398 AS c WITH (NOLOCK)"
Dim cmd
Set cmd = GetContainerCommand(cnn, "c.*" & "" , Value("dynamicContentNameSource") & "" , "c.visible = 1 " & "AND c.status_type_id = 139 " &" and c.archive = 0" & GetContainerFilterExpression("[content_item_id] = " & Value("id")), GetContainerOrderExpressionNew("",""), 1, 0,0)
Set ContainerInfo.RecordSet = Server.CreateObject("ADODB.Recordset")
With ContainerInfo.RecordSet
.CursorLocation = adUseClient
.Open cmd,, adOpenForwardOnly, adLockReadOnly
If .State <> adStateClosed Then
If Not .EOF Then
AppendFieldToDictionary "Картинка", 1693, 8, False, 398
End If
ContainerInfo.Init cmd, 51, 398, 1, 0
While Not .EOF
ContainerInfo.Adjust
InitFieldValues ContainerInfo.RecordSet
ContainerInfo.AdjustUploadUrl
%>