[Solved]: [Solved]: What am I doing wrong! [Solved]: [Solved]: What am I doing wrong!
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

[Solved]: [Solved]: What am I doing wrong!

Started by drnet.online, June 02, 2009, 05:58:29 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

drnet.online

I have put this code in the latestimages.php on my server:
<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!

Joachim Müller

Missing semicolon after $objCpm->cpm_viewLastAddedMedia(1,4)

drnet.online

Thanks! I feel dumb for such a small error :P  ::)