forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 cpmFetch by vuud => Topic started by: drnet.online on June 02, 2009, 05:58:29 am

Title: [Solved]: [Solved]: What am I doing wrong!
Post by: drnet.online on June 02, 2009, 05:58:29 am
I have put this code in the latestimages.php on my server:
Code: [Select]
<script language="javascript" type="text/javascript">
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
</script>
<style>
.latestimages a img {
border: 1px solid #DACEC0;
opacity:.80;
filter: alpha(opacity=80);
 -moz-opacity: 0.8;
padding: 2px;
margin: -1px;
 -moz-border-radius:  6px;
-webkit-border-radius: 6px;
border-radius: 6px;
}

.latestimages a img:hover {
border: 1px solid #DACEC0;
opacity:.90;
filter: alpha(opacity=90);
 -moz-opacity: 0.9;
padding: 2px;
margin: -1px;
 -moz-border-radius:  6px;
-webkit-border-radius: 6px;
border-radius: 6px;
}

 
</style> <div class="latestimages"><center>
<?php
  
include_once "./cpmfetch/cpmfetch.php";
  
$objCpm = new cpm("./cpmfetch/cpmfetch_config.php");
  
$objCpm->cpm_viewLastAddedMedia(1,4)
  
$options = array('windowtarget' => '_blank');
?>
</a></center>
And I get this when I try to link the frame:

Parse error: syntax error, unexpected T_VARIABLE in /home/trionetm/public_html/latestimages.php on line 37



PLEASE Help!
Title: Re: What am I doing wrong!
Post by: Joachim Müller on June 02, 2009, 09:15:40 am
Missing semicolon after $objCpm->cpm_viewLastAddedMedia(1,4)
Title: Re: What am I doing wrong!
Post by: drnet.online on June 02, 2009, 03:57:18 pm
Thanks! I feel dumb for such a small error :P  ::)