PiEycPi adlı üyeden alıntı: mesajı görüntüle
peki hocam buradaki $kategori degiskenini nereden Aliyor ? kategori number mi ?
içinde kendi fonksiyonlarım var .. kendine göre düzenle formu falan bunu index.php olarak kaydet
Alıntı
<?php
require_once ('kut.php');
$wpkat=sorgu("select term_id,taxonomy from wp_term_taxonomy where taxonomy='category'");
?>
<html>
<head>
<meta http-equiv="Content-Language" content="tr">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Akilli.Tv Video BOT - Coded By TMR</title>
</head>
<body>
<form method="post" action="akilli.php">
<table align="center" style="width: 384px; font-family: Verdana; font-size: 11px">
<tr>
<td style="width: 183px">Video İçeriği</td>
<td style="width: 21px">:</td>
<td><input name="site" type="text" style="width: 168px; font-size:medium; font-weight:bold;"></td>
</tr>
<tr>
<td style="width: 183px; height: 27px;">Hangi Kategoriye Kaydedelim</td>
<td style="width: 21px; height: 27px;">:</td>
<td style="height: 27px">
<select name="kat" style="width: 165px; font-size:medium; font-weight:bold;">
<?php while($c=arr($wpkat)) {
$deneme=sorgu("select term_id,name from wp_terms where term_id=".$c['term_id']."");
$dene=arr($deneme); ?>
<option value="<?php echo $dene['term_id'] ?>"><?php echo $dene['name'] ?></option>
<?php } ?>
</select></td>
</tr>
<tr>
<td style="width: 183px; height: 26px;">Sayfa Numarası</td>
<td style="width: 21px; height: 26px;">:</td>
<td style="height: 26px">
<input name="sayfa" type="text" style="width: 168px; font-size:medium; font-weight:bold;"></td>
</tr>
<tr style="text-align: right">
<td style="width: 183px">&nbsp;</td>
<td style="width: 21px">&nbsp;</td>
<td><input name="Submit1" type="submit" value="Kaydet"></td>
</tr>
</table>
</form>
</body>
</html>