News:

CPG Release 1.6.29
During HTML5 upload, keep pseudo blank code 200 messages from triggering error condition
added Russian language
correct failure to use theme menu icons in album manager
minor vulnerabilities mitigation

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  ::)