Removing a GetContent section in asp page

Klian

New Member
My page here uses the intro content from the admin system, but when I try to remove it the page breaks.If you could have a look at the CSS on an inspector that'd be great and the code in question is:\[code\]<%Dim objConn : Set objConn = Server.CreateObject("ADODB.Connection")Dim rsCats : Set rsCats = Server.CreateObject("ADODB.RecordSet")Dim rsItems : Set rsItems = Server.CreateObject("ADODB.RecordSet")Dim SQLCommandobjConn.Open strConnSQLCommand = "SELECT * FROM CommunityLinkCategories WHERE FranchiseGID = '" & Session("PublicFranchiseGID") & "' ORDER BY DisplayOrder"rsCats.Open SQLCommand, objConn, adOpenStatic, adLockReadOnlyif rsCats.RecordCount > 0 then %><% = GetContent("FranchiseCommunityLinks_Welcome", Session("PublicFranchiseGID")) %><div class="links"> <table width="68%"> <% While Not rsCats.EOF %>\[/code\]Many thanks.
 
Back
Top