upload edilen yerin kodlarını kopyalabilirseniz bakalım. yazımda bir terslik olabilir.
Aldığım hata :
1 File Name : /tmp/phpXHZxYt
Function Name : IMAGETYPE_JPEG
Message : Sistemimiz yalnızca jpeg formatı desteklemektedir. ( png yüklediğimde )
2 File Name :
Function Name : imagecreatefrompng()
Message : Logo dosyası png formatında olmalıdır ( jpg yüklediğimde )
<? include("./header/advert-images-list.php");?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title><?=(AddEditImages)?></title>
<style type="text/css">
<!--
body {
background-color: #e0e0e0;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
</style>
<?=(isset($ReloadLeftFrame)?$ReloadLeftFrame:"")?>
<link href="css/style.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="js/function.js"></script>
</head>
<body>
<br>
<?=(getContentTop(AddEditImages, "100"))?>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td valign="top"><table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="25" id="lang-menu"><table width="100%" height="25" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="5"><img src="images/spacer.gif" width="1" height="1"></td>
<td> </td>
<td class="add-link"><a href="#.htm" onClick="MM_openBrWindow('advert_add_images.php?Action=Add&ParentID=<?=($ParentID)?>','','width=450,height=220')"><?=(AddNewImage)?></a></td>
</tr>
</table></td>
</tr>
<tr>
<td height="20" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr id="record-title">
<td width="40" height="25" align="center"><?=(Sequence)?></td>
<td width="50" align="center"> <?=(Image)?></td>
<td> </td>
<td width="80" align="center"><?=(Transactions)?></td>
</tr>
<?
$list = getAdvertImagesList();
foreach ($list['items'] as $rs)
{
?>
<tr>
<td height="30" class="<?=($rs['class'])?> center"><?=($rs['Seq'])?></td>
<td class="<?=($rs['class'])?> center"><a href="javascript:popImage('../images/estate/<?=($rs['Images'])?>_normal.jpg','<?=(Image)?>','middle_center',true,false)"><img src="images/icon-image.gif" border="0"></a></td>
<td class="<?=($rs['class'])?> center"> </td>
<td class="<?=($rs['class'])?> center"><? if ($rs['Visible'] == '1') { ?>
<a href="advert-images-list.php?miSend=1&Action=Hide&ID=<?=($rs['ID'])?>&ParentID=<?=($ParentID)?>" onClick="return confirm('<?=(QuestionHideRecord)?>')"><img src="images/icon-play.gif" alt="<?=(Show)?>" border="0"></a>
<? } else { ?>
<a href="advert-images-list.php?miSend=1&Action=Show&ID=<?=($rs['ID'])?>&ParentID=<?=($ParentID)?>" onClick="return confirm('<?=(QuestionShowRecord)?>')"><img src="images/icon-stop.gif" alt="<?=(Hide)?>" border="0"></a>
<? } ?>
<a href="advert-images-list.php?miSend=1&Action=Delete&ID=<?=($rs['ID'])?>&ParentID=<?=($ParentID)?>" onClick="return confirm('<?=(QuestionDeleteRecord)?>')"><img src="images/icon-delete.gif" border="0" alt="<?=(Delete)?>"></a></td>
</tr>
<? } ?>
</table></td>
</tr>
</table></td>
</tr>
</table>
<?=(getContentFooter())?>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td> </td>
<td width="100"><input type="button" class="button" onClick="window.close();" value="<?=(Cancel)?>"></td>
<td width="7"></td>
</tr>
</table>
<br>
</body>
</html>/admin/advert-images-list.php?ParentID=166 bu