print <<ENDOFTEXT;

<footer class="row">
    <p class="col-md-9 col-sm-9 col-xs-12 copyright">&copy; <a href="http://itvadmin.co.za" target="_blank">$useropts{short}</a></p>

    <p class="col-md-3 col-sm-3 col-xs-12 powered-by"><a href="http://kre8it.co.za" target="_blank">Kre8IT Programming (Pty) Ltd</a><br>062 133 6754<br><a href="mailto:info\@kre8it.co.za">info\@kre8it.co.za</a></p>
</footer>

</div><!--/.fluid-container-->

<!-- external javascript -->

<script src="$useropts{'bower_components'}/bootstrap/dist/js/bootstrap.min.js"></script>

<!-- library for cookie management -->
<script src="$useropts{'js'}/jquery.cookie.js"></script>
<!-- calender plugin -->
<script src="$useropts{'bower_components'}/moment/min/moment.min.js"></script>
<script src="$useropts{'bower_components'}/fullcalendar/dist/fullcalendar.min.js"></script>
<!-- data table plugin -->
<script src="$useropts{'js'}/jquery.dataTables.min.js"></script>
<!-- select or dropdown enhancer -->
<script src="$useropts{'bower_components'}/chosen/chosen.jquery.min.js"></script>
<!-- plugin for gallery image view -->
<script src="$useropts{'bower_components'}/colorbox/jquery.colorbox-min.js"></script>
<!-- notification plugin -->
<script src="$useropts{'js'}/jquery.noty.js"></script>
<!-- library for making tables responsive -->
<script src="$useropts{'bower_components'}/responsive-tables/responsive-tables.js"></script>
<!-- tour plugin -->
<script src="$useropts{'bower_components'}/bootstrap-tour/build/js/bootstrap-tour.min.js"></script>
<!-- star rating plugin -->
<script src="$useropts{'js'}/jquery.raty.min.js"></script>
<!-- for iOS style toggle switch -->
<script src="$useropts{'js'}/jquery.iphone.toggle.js"></script>
<!-- autogrowing textarea plugin -->
<script src="$useropts{'js'}/jquery.autogrow-textarea.js"></script>
<!-- history.js for cross-browser state change on ajax -->
<script src="$useropts{'js'}/jquery.history.js"></script>
<!-- application script for Charisma demo -->
<script src="$useropts{'js'}/charisma.js"></script>
<!-- application script for bootstrap dialog customisation -->
<script src="$useropts{'js'}/bootstrap-dialog.js"></script>
<script src="$useropts{'js'}/bootstrap-datetimepicker.min.js"></script>
<script src="$useropts{'js'}/bootstrap-datepicker.js"></script>
<script src="$useropts{'js'}/jquery.form-validator.min.js"></script>
$extra_js

<script>

\$.validate();

function dlgMdl(url,titl,cssfh,csscl){
    // if (!cssfh) { cssfh = 'height:' + (screen.height - (screen.height / 3) - 30) + 'px' }
    if (!cssfh) { cssfh = 'height:' + (\$(window).height() * 0.87) + 'px' }
    BootstrapDialog.show({
        title: titl,
        message: \$('<iframe src="' + url + '" style="position:relative;background-color:transparent;border:0px;width:100%;' + cssfh + ';" frameborder="0"></iframe>') ,
        cssClass: csscl             
    }); 
    }
    
function editQuote (id) 
{  
   \$('#quote-edit-id').val(id);
   \$('#quote-edit-form').submit();
}

function editEventQuote (id) 
{  
   \$('#event-quote-edit-id').val(id);
   \$('#event-quote-edit-form').submit();
}

\$('[data-toggle="tooltip"]').tooltip({html:true}) ;

\$(document).ready(function(){ $trigger_jquery });

$trigger_jquery_raw

function sendEmail(inv,mnid) {     
    dlgMdl("$useropts{'scripts'}/dialog/email.pl?"+inv+"&"+mnid,"Pre-alert",'height:550px;','') ;
}

</script>

<form role="form" id="quote-edit-form" method="post" action="$useropts{'folder'}/edit-quotes">
<input type="hidden" name="iaction"                 value="edit">
<input type="hidden" name="id"  id="quote-edit-id"  value="">
</form>

<form role="form" id="event-quote-edit-form" method="post" action="$useropts{'folder'}/edit-event-quotes">
<input type="hidden" name="iaction"                 value="edit">
<input type="hidden" name="id"  id="event-quote-edit-id"  value="">
</form>

$extra_form_footer

ENDOFTEXT
#

# <!-- multiple file upload plugin -->
# <script src="$useropts{'js'}/jquery.uploadify-3.1.min.js"></script>