Home directory for Malawi's wwwroot
Duncan Ewan
2021-02-19 3e758c29e0fde36fc088efcfc88f9a3014432b64
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
<tr>
  <td>
      <table class="topheader-table">
      <tr>
        <td width="240"><a href="http://nisweb04:8307/tevo/tevo/drawchart.cfm?qnum=1&amp;filter=noOrder"><img src="../../common/images/70x70.gif" width="74" height="74" border="0"></a></td>
        <td align="center"><font color="#ffffff" size="+3"><cfoutput>#Attributes.title#</cfoutput></font></td>
                <td width="240" align="right">
                  <cfif not IsDefined("Attributes.nologo")>
                      <img src="../common/images/Surizon-Tech-Logo-70_2.gif" width="133" height="70">
                    <cfelse>
                      &nbsp;
                  </cfif>
                </td>
      </tr>
    </table>
    </td>
</tr>
<cfif FileExists("#application.path#/menu/menu.xml")>
  <cffile action="read" file="#application.path#/menu/menu.xml" variable="menu" />
    <cfset xmlDoc = XmlParse(#menu#)>
    <cfset numLinks = ArrayLen(xmlDoc.menu.XmlChildren)>
    <tr>
        <td>
          <table class="bottomheader-table">
                <tr>
                  <cfloop index="i" from="1" to="#numLinks#">
                      <cfoutput>
                            <td nowrap align="center">
                                &nbsp;<a href="#xmlDoc.menu.link[i].XmlAttributes.href#" 
                                        <cftry>
                                          <cfif xmlDoc.menu.link[i].XmlAttributes.target is not "">
                                                    target="#xmlDoc.menu.link[i].XmlAttributes.target#"
                                                  </cfif>
                                                    <cfcatch type="any">
                                                    </cfcatch>
                                                </cftry>
                                                >#xmlDoc.menu.link[i].XmlAttributes.name#</a>&nbsp;
                            </td>
                        </cfoutput>
                    </cfloop>
                    <td width="95%">&nbsp;</td>
                </tr>
            </table>
        </td>
    </tr>
</cfif>