I have a php module and in it I am trying to show a different logo depending on the "branding". I have the code below in a footer and I would expect at least one of the logos to appear. But none do. What am I missing?
Code:
<div class="row">
<div class="span6 b12">
<script>
switch(1) {
case 1:
<img src="<?php echo base_url(); ?>assets/themes/default/images/Logo - Research Study Toolkit(3).jpg"
style="float:left;margin-top:5px;z-index:5" alt="logo"/>
break;
case 2:
<img src="<?php echo base_url(); ?>assets/themes/default/images/Logo - Original2.jpg"
style="float:left;margin-top:5px;z-index:5" alt="logo"/>
break;
case 3:
<img src="<?php echo base_url(); ?>assets/themes/default/images/Logo - Pharma Research Study Toolkit2.jpg"
style="float:left;margin-top:5px;z-index:5" alt="logo"/>
break;
case 4:
<img
src="<?php echo base_url(); ?>assets/themes/default/images/Logo - Climate Research Study Toolkit.jpg"
style="float:left;margin-top:5px;z-index:5" alt="logo"/>
break;
default:
<img
src="<?php echo base_url(); ?>assets/themes/default/images/Logo - Research Study Toolkit(3).jpg"
style="float:left;margin-top:5px;z-index:5" alt="logo"/>
}
</script>
</div>
</div>
proof that an old dog can learn new tricks