#
#-----[ OPEN ]------------------------------------------
#
album_showpage.php
#
#-----[ FIND ]------------------------------------------
#
'PIC_ID' => $pic_id,
'PIC_BBCODE' => '[albumimg]' . $pic_id . '[/albumimg]',
'PIC_TITLE' => $thispic['pic_title'],
#
#-----[ AFTER, ADD ]------------------------------------------
#
'PIC_FILENAME' => $thispic['pic_filename'],
#
#-----[ OPEN ]------------------------------------------
#
templates/mg_themes/album_showpage_body.tpl
#
#-----[ FIND ]------------------------------------------
#
{U_PIC_L1}<img src="{U_PIC}" border="0" vspace="10" alt="{PIC_TITLE}" title="{PIC_TITLE}" />{U_PIC_L2}
#
#-----[ REPLACE, WITH ]------------------------------------------
#
{U_PIC_L1}<center><a href="javascript:NewWindow('files/album/{PIC_FILENAME}','mypopup','600','400','center','front');"><img src="{U_PIC}" border="0" vspace="10" alt="{PIC_TITLE}" title="{PIC_TITLE} - Klicke auf das Bild um den Original-Link für das Bild zu sehen" /></center>{U_PIC_L2}
#
#-----[ AND WHE YOU WISH, FIND ]------------------------------------------
#
<td valign="top" align="left"><b><span class="genmed">{PIC_TITLE}</span></b></td>
#
#-----[ REPLACE, WITH ]------------------------------------------
#
<td valign="top" align="left"><b><span class="genmed"><a href="javascript:NewWindow('files/album/{PIC_FILENAME}','mypopup','600','400','center','front');">{PIC_TITLE}</span></b></td>
#
#-----[ OPEN - FOR ALL overall_header.tpl]------------------------------------------
#
templates/mg_themes/overall_header.tpl
#
#-----[ FIND ]------------------------------------------
#
</head>
#
#-----[ BEFORE ADD ]------------------------------------------
#
<SCRIPT LANGUAGE='JAVASCRIPT' TYPE='TEXT/JAVASCRIPT'>
<!-- Popup Generator -->
<!--
var win=null;
function NewWindow(mypage,myname,w,h,pos,infocus){
if(pos=="random"){myleft=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;mytop=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
if(pos=="center"){myleft=(screen.width)?(screen.width-w)/2:100;mytop=(screen.height)?(screen.height-h)/2:100;}
else if((pos!='center' && pos!="random") || pos==null){myleft=0;mytop=20}
settings="width=" + w + ",height=" + h + ",top=" + mytop + ",left=" + myleft + ",scrollbars=no,location=yes,directories=no,status=no,menubar=no,toolbar=no,resizable=no";win=window.open(mypage,myname,settings);
win.focus();}
// -->
</script>
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM