?:0: attempt to index a nil value
?:0: attempt to index a nil value
Switch View
- ...Web Galleries/LRB_Portfolio.lrwebengine/contact.html:176: in main chunk
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
- <head><title>$model.nonCSS.pageTitle</title>
- <meta http-equiv="content-type" content="text/html; charset=UTF-16" />
- <meta name="Keywords" content="$model.nonCSS.metaKeys" >
- <meta name="Description" content="$model.nonCSS.metaDesc" />
- <meta name="generator" content="LRB Portfolio plugin for Adobe Photoshop Lightroom">
- <link rel="stylesheet" type="text/css" media="screen" href="content/custom.css" />
- <link rel="stylesheet" type="text/css" href="gallerystyle.css" />
- <style type="text/css"> #scroll { overflow:auto; padding:5px 0px 5px 0px; } </style><style type="text/css"><% if model.nonCSS.usebodyWidth then %>body{width: $model.nonCSS.fullbodyWidth;}<% else %><% end %> </style>
- <!--[if IE]><style type="text/css"> #scroll { overflow:visible; overflow-x:auto; overflow-y:hidden; padding-bottom:18px; padding-top:5px;} </style><![endif]-->
- <!--[if lt IE 7.]> <script defer type="text/javascript" src="resources/js/pngfix.js"></script> <![endif]-->
- <% if model.nonCSS.IE8Code then %><!--[if lt IE 8]>
- <script src="http://ie7-js.googlecode.com/svn/version/2.0(beta3)/IE8.js" type="text/javascript"></script>
- <![endif]--><%else%><%end%>
- <script type="text/javascript">
- window.AgMode = "$mode";
- <% if mode == 'preview' then %>
- window.AgOnLoad = function() {
- tellLightroomWhatImagesWeAreUsing();
- setActiveImageSize( "<%= mySize %>" );
- <% if image then %>
- callCallback( "showInPhotoBin", "$image.imageID" );
- <% end %>
- }
- <% end %>
- </script>
- <script type="text/javascript" src="resources/js/live_update.js">
- </script>
- <% if model.nonCSS.rightClickDisable then %><script language=JavaScript>
- <!--
- //Disable right click script III- By Renigade (renigade@mediaone.net)
- //For full source code, visit http://www.dynamicdrive.com
- var message="";
- ///////////////////////////////////
- function clickIE() {if (document.all) {(message);return false;}}
- function clickNS(e) {if
- (document.layers||(document.getElementById&&!document.all)) {
- if (e.which==2||e.which==3) {(message);return false;}}}
- if (document.layers)
- {document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
- else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
- document.oncontextmenu=new Function("return false")
- // -->
- </script>
- <%else%><%end%>
- <!-- Do not edit IE conditional style below -->
- <!--[if gte IE 5.5]>
- <style type="text/css">
- #motioncontainer {
- width:expression(Math.min(this.offsetWidth, maxwidth)+'px');
- }
- </style>
- <![endif]-->
- <!-- End Conditional Style -->
- <script type="text/javascript" src="resources/js/motiongallery.js">
- /***********************************************
- * CMotion Image Gallery- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
- * Visit http://www.dynamicDrive.com for hundreds of DHTML scripts
- * This notice must stay intact for legal use
- * Modified by Jschuer1 for autowidth and optional starting positions
- ***********************************************/
- </script>
- </head>
- <%
- --[[ Define some variables to make locating other resources easier
- firstPage was defined in our manifest.]]
- local imageNumber=math.max(model.nonCSS.contactImage)
- local others = "content"
- local theRoot = "."
- local mySize = "large"
- %>
- <body>
- <%
- local function fixUrlIfRelative( url )
- url = tostring( url ) or ""
- if string.find( url, "[a-z]+:" ) then
- -- this url starts with something like http: or mailto:, so leave it alone
- else
- -- this url is probably relative, so we need to tack on theRoot to the beginning
- -- of it, so no matter where the page we're currently viewing is placed in the
- -- output hierarchy, this link will still point to the same page
- url = theRoot .. "/" .. url;
- end
- return url
- end
- --[[ Include the identity plate during preview to enable quick live update ]]
- local includeIdentityPlate = mode == 'preview' or model.appearance.logo.display
- if includeIdentityPlate then
- local url = fixUrlIfRelative( model.metadata.homePage.value )
- %>
- <div id="model.nonCSS.idplateEnabled">
- <div class="logo"> <a href="$url"> <img width="<%= getIdentityPlateSize().width %>" height="<%= getIdentityPlateSize().height %>" class="pngDelayDisplay" src="$others/logo.png" alt="Logo"> </a> </div>
- </div>
- <%
- end --[[ End conditionalize identity plate ]]
- %>
-
-
- <div id="aboutwrap">
-
- <div id="about">
- <% if model.nonCSS.useForm then %>
- <form action="mail.php" method="POST">
- <p><strong>Your Email Address</strong><br>
- <input type="text" name="email" size=40>
- <input type="hidden" name="recipient" value="$model.metadata.contactInfo.link">
- <p><strong>Your Name</strong><br>
- <input type="text" name="from" size=40>
- <p><strong>Subject</strong><br>
- <input type="text" name="subject" size=40>
- <p><strong>Comments</strong><br>
- <textarea cols=40 rows=6 name="message"></textarea>
- <p><input type="submit" value=" Send "></form>
- <% else %><% end %>
- <% if model.nonCSS.useContact then %>
- <% if model.nonCSS.useContactName then %><% if not model.nonCSS.useContactNameLink then %>
- <strong>Contact</strong>: <span onclick="clickTarget( this, 'metadata.contactInfo.value' );" id="metadata.contactInfo.value" class="textColor">$model.metadata.contactInfo.value</span><br /><% elseif model.nonCSS.useContactNameLink then %><strong>Contact</strong>: <a onclick="clickTarget( this, 'metadata.contactInfo.link' );" id="metadata.contactInfo.link" href="$model.metadata.contactInfo.link"><span onclick="clickTarget( this, 'metadata.contactInfo.value' );" id="metadata.contactInfo.value" class="textColor">$model.metadata.contactInfo.value</span></a><br /><% else %><% end %><% else %><% end %>
- <% if model.nonCSS.useEmail then %>
- <strong>Email</strong>: $model.nonCSS.email<br />
- <% else %><% end %>
- <% if model.nonCSS.usePhone then %>
- <strong>Phone</strong>: $model.nonCSS.phone<br />
- <% else %><% end %>
- <% if model.nonCSS.useMobile then %>
- <strong>Mobile/Cell</strong>: $model.nonCSS.mobile<br />
- <% else %><% end %>
- <% if model.nonCSS.useFax then %>
- <strong>Fax</strong>: $model.nonCSS.fax<br />
- <% else %><% end %>
- <% if model.nonCSS.useMyspace then %>
- <strong>MySpace</strong>: <a href="$model.nonCSS.Myspace">$model.nonCSS.Myspace</a><br />
- <% else %><% end %>
- <% if model.nonCSS.useFacebook then %>
- <strong>Facebook</strong>: <a href="$model.nonCSS.Facbook">$model.nonCSS.Facebook</a><br />
- <% else %><% end %>
- <% if model.nonCSS.useTwitter then %>
- <strong>Twitter</strong>: <a href="$model.nonCSS.Twitter">$model.nonCSS.Twitter</a><br />
- <% else %><% end %>
- <% if model.nonCSS.useblankCon then %>
- <strong>$model.nonCSS.blankConTitle</strong>: <% if model.nonCSS.useblankConLink then %><a href="$model.nonCSS.blankCon">$model.nonCSS.blankCon</a><% else %>$model.nonCSS.blankCon<% end %><br />
- <% else %><% end %>
- <% if model.nonCSS.useAddress then %>
- <strong>Address</strong>: $model.nonCSS.address<br />
- <% else %><% end %>
- <% else %><% end %>
- </div><div id="aboutleft"><% if model.nonCSS.usecontactText then %><p onclick="clickTarget (this, 'nonCSS.contactText');" id="nonCSS.contactText" class="textColor">$model.nonCSS.contactText</p><% else %><img src="large/<%= getImage(imageNumber).exportFilename %>.jpg" alt="<%= getImage( imageNumber ).metadata.title %>" title="<%= getImage( imageNumber ).metadata.title %>" /><% end %></div>
- </div>
- <div id="lrb"></div>
- <% includeFile ('menu.html') %>
- <% includeFile ('foot.html') %>
- write( [[ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
- <head><title>]] )write( model.nonCSS.pageTitle )write( [[</title>
- <meta http-equiv="content-type" content="text/html; charset=UTF-16" />
- <meta name="Keywords" content="]] )write( model.nonCSS.metaKeys )write( [[" >
- <meta name="Description" content="]] )write( model.nonCSS.metaDesc )write( [[" />
- <meta name="generator" content="LRB Portfolio plugin for Adobe Photoshop Lightroom">
- <link rel="stylesheet" type="text/css" media="screen" href="content/custom.css" />
- <link rel="stylesheet" type="text/css" href="gallerystyle.css" />
- <style type="text/css"> #scroll { overflow:auto; padding:5px 0px 5px 0px; } </style><style type="text/css">]] ) if model.nonCSS.usebodyWidth then write( [[body{width: ]] )write( model.nonCSS.fullbodyWidth )write( [[;}]] ) else end write( [[ </style>
- <!--]] .. "[" .. [[if IE]] .. "]" .. [[><style type="text/css"> #scroll { overflow:visible; overflow-x:auto; overflow-y:hidden; padding-bottom:18px; padding-top:5px;} </style><!]] .. "[" .. [[endif]] .. "]" .. [[-->
- <!--]] .. "[" .. [[if lt IE 7.]] .. "]" .. [[> <script defer type="text/javascript" src="resources/js/pngfix.js"></script> <!]] .. "[" .. [[endif]] .. "]" .. [[-->
- ]] ) if model.nonCSS.IE8Code then write( [[<!--]] .. "[" .. [[if lt IE 8]] .. "]" .. [[>
- <script src="http://ie7-js.googlecode.com/svn/version/2.0(beta3)/IE8.js" type="text/javascript"></script>
- <!]] .. "[" .. [[endif]] .. "]" .. [[-->]] ) else end write( [[
- <script type="text/javascript">
- window.AgMode = "]] )write( mode )write( [[";
- ]] ) if mode == 'preview' then write( [[
- window.AgOnLoad = function() {
- tellLightroomWhatImagesWeAreUsing();
- setActiveImageSize( "]] )write( mySize )write( [[" );
- ]] ) if image then write( [[
- callCallback( "showInPhotoBin", "]] )write( image.imageID )write( [[" );
- ]] ) end write( [[
- }
- ]] ) end write( [[
- </script>
- <script type="text/javascript" src="resources/js/live_update.js">
- </script>
- ]] ) if model.nonCSS.rightClickDisable then write( [[<script language=JavaScript>
- <!--
- //Disable right click script III- By Renigade (renigade@mediaone.net)
- //For full source code, visit http://www.dynamicdrive.com
- var message="";
- ///////////////////////////////////
- function clickIE() {if (document.all) {(message);return false;}}
- function clickNS(e) {if
- (document.layers||(document.getElementById&&!document.all)) {
- if (e.which==2||e.which==3) {(message);return false;}}}
- if (document.layers)
- {document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
- else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
- document.oncontextmenu=new Function("return false")
- // -->
- </script>
- ]] ) else end write( [[
- <!-- Do not edit IE conditional style below -->
- <!--]] .. "[" .. [[if gte IE 5.5]] .. "]" .. [[>
- <style type="text/css">
- #motioncontainer {
- width:expression(Math.min(this.offsetWidth, maxwidth)+'px');
- }
- </style>
- <!]] .. "[" .. [[endif]] .. "]" .. [[-->
- <!-- End Conditional Style -->
- <script type="text/javascript" src="resources/js/motiongallery.js">
- /***********************************************
- * CMotion Image Gallery- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
- * Visit http://www.dynamicDrive.com for hundreds of DHTML scripts
- * This notice must stay intact for legal use
- * Modified by Jschuer1 for autowidth and optional starting positions
- ***********************************************/
- </script>
- </head>
- ]] )
- --[[ Define some variables to make locating other resources easier
- firstPage was defined in our manifest.]]
- local imageNumber=math.max(model.nonCSS.contactImage)
- local others = "content"
- local theRoot = "."
- local mySize = "large"
- write( [[
- <body>
- ]] )
- local function fixUrlIfRelative( url )
- url = tostring( url ) or ""
- if string.find( url, "[a-z]+:" ) then
- -- this url starts with something like http: or mailto:, so leave it alone
- else
- -- this url is probably relative, so we need to tack on theRoot to the beginning
- -- of it, so no matter where the page we're currently viewing is placed in the
- -- output hierarchy, this link will still point to the same page
- url = theRoot .. "/" .. url;
- end
- return url
- end
- --[[ Include the identity plate during preview to enable quick live update ]]
- local includeIdentityPlate = mode == 'preview' or model.appearance.logo.display
- if includeIdentityPlate then
- local url = fixUrlIfRelative( model.metadata.homePage.value )
- write( [[
- <div id="model.nonCSS.idplateEnabled">
- <div class="logo"> <a href="]] )write( url )write( [["> <img width="]] )write( getIdentityPlateSize().width )write( [[" height="]] )write( getIdentityPlateSize().height )write( [[" class="pngDelayDisplay" src="]] )write( others )write( [[/logo.png" alt="Logo"> </a> </div>
- </div>
- ]] )
- end --[[ End conditionalize identity plate ]]
- write( [[
-
-
- <div id="aboutwrap">
-
- <div id="about">
- ]] ) if model.nonCSS.useForm then write( [[
- <form action="mail.php" method="POST">
- <p><strong>Your Email Address</strong><br>
- <input type="text" name="email" size=40>
- <input type="hidden" name="recipient" value="]] )write( model.metadata.contactInfo.link )write( [[">
- <p><strong>Your Name</strong><br>
- <input type="text" name="from" size=40>
- <p><strong>Subject</strong><br>
- <input type="text" name="subject" size=40>
- <p><strong>Comments</strong><br>
- <textarea cols=40 rows=6 name="message"></textarea>
- <p><input type="submit" value=" Send "></form>
- ]] ) else end write( [[
- ]] ) if model.nonCSS.useContact then write( [[
- ]] ) if model.nonCSS.useContactName then if not model.nonCSS.useContactNameLink then write( [[
- <strong>Contact</strong>: <span onclick="clickTarget( this, 'metadata.contactInfo.value' );" id="metadata.contactInfo.value" class="textColor">]] )write( model.metadata.contactInfo.value )write( [[</span><br />]] ) elseif model.nonCSS.useContactNameLink then write( [[<strong>Contact</strong>: <a onclick="clickTarget( this, 'metadata.contactInfo.link' );" id="metadata.contactInfo.link" href="]] )write( model.metadata.contactInfo.link )write( [["><span onclick="clickTarget( this, 'metadata.contactInfo.value' );" id="metadata.contactInfo.value" class="textColor">]] )write( model.metadata.contactInfo.value )write( [[</span></a><br />]] ) else end else end write( [[
- ]] ) if model.nonCSS.useEmail then write( [[
- <strong>Email</strong>: ]] )write( model.nonCSS.email )write( [[<br />
- ]] ) else end write( [[
- ]] ) if model.nonCSS.usePhone then write( [[
- <strong>Phone</strong>: ]] )write( model.nonCSS.phone )write( [[<br />
- ]] ) else end write( [[
- ]] ) if model.nonCSS.useMobile then write( [[
- <strong>Mobile/Cell</strong>: ]] )write( model.nonCSS.mobile )write( [[<br />
- ]] ) else end write( [[
- ]] ) if model.nonCSS.useFax then write( [[
- <strong>Fax</strong>: ]] )write( model.nonCSS.fax )write( [[<br />
- ]] ) else end write( [[
- ]] ) if model.nonCSS.useMyspace then write( [[
- <strong>MySpace</strong>: <a href="]] )write( model.nonCSS.Myspace )write( [[">]] )write( model.nonCSS.Myspace )write( [[</a><br />
- ]] ) else end write( [[
- ]] ) if model.nonCSS.useFacebook then write( [[
- <strong>Facebook</strong>: <a href="]] )write( model.nonCSS.Facbook )write( [[">]] )write( model.nonCSS.Facebook )write( [[</a><br />
- ]] ) else end write( [[
- ]] ) if model.nonCSS.useTwitter then write( [[
- <strong>Twitter</strong>: <a href="]] )write( model.nonCSS.Twitter )write( [[">]] )write( model.nonCSS.Twitter )write( [[</a><br />
- ]] ) else end write( [[
- ]] ) if model.nonCSS.useblankCon then write( [[
- <strong>]] )write( model.nonCSS.blankConTitle )write( [[</strong>: ]] ) if model.nonCSS.useblankConLink then write( [[<a href="]] )write( model.nonCSS.blankCon )write( [[">]] )write( model.nonCSS.blankCon )write( [[</a>]] ) else write( model.nonCSS.blankCon ) end write( [[<br />
- ]] ) else end write( [[
- ]] ) if model.nonCSS.useAddress then write( [[
- <strong>Address</strong>: ]] )write( model.nonCSS.address )write( [[<br />
- ]] ) else end write( [[
- ]] ) else end write( [[
- </div><div id="aboutleft">]] ) if model.nonCSS.usecontactText then write( [[<p onclick="clickTarget (this, 'nonCSS.contactText');" id="nonCSS.contactText" class="textColor">]] )write( model.nonCSS.contactText )write( [[</p>]] ) else write( [[<img src="large/]] )write( getImage(imageNumber).exportFilename )write( [[.jpg" alt="]] )write( getImage( imageNumber ).metadata.title )write( [[" title="]] )write( getImage( imageNumber ).metadata.title )write( [[" />]] ) end write( [[</div>
- </div>
- <div id="lrb"></div>
- ]] ) includeFile ('menu.html') write( [[
- ]] ) includeFile ('foot.html')