Şimdi Ara

Acil Yardım!!!

Daha Fazla
Bu Konudaki Kullanıcılar: Daha Az
2 Misafir - 2 Masaüstü
5 sn
5
Cevap
0
Favori
906
Tıklama
Daha Fazla
İstatistik
  • Konu İstatistikleri Yükleniyor
0 oy
Öne Çıkar
Sayfa: 1
Giriş
Mesaj
  • <!-- #include file=yonetimust.asp --> 
    <!-- #include file=yonetimguvenlik.asp -->
    <!-- #include file=ayarlar.asp -->
    <!-- #include file=veritabani.asp -->

    <%resim=guvenlik(Request.QueryString("resim"))%>
    <head>
    <meta name="GENERATOR" content="Microsoft FrontPage 6.0">
    <meta name="ProgId" content="FrontPage.Editor.Document">
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1254">
    <link rel="stylesheet" type="text/css" href="tema/<%=tema%>/css/style.css">
    <title><%=siteadi%></title>


    </head>
    <body topmargin="0" leftmargin="0" OnLoad="initialiseWebWizRTE();">
    <SCRIPT LANGUAGE="JavaScript">
    <!-- Hata Gizleme Kodu
    function blockError(){return true;}
    window.onerror = blockError;
    // End -->
    </script>
    <!-- Hata Gizleme Kodu -->

    <script type="text/javascript">
    <!-- Başlangıç // Genişlik
    var maxWidth=100;
    // Yükseklik
    var maxHeight=100;
    // Dosya Tipi
    var fileTypes=["bmp","gif","png","jpg","jpeg"];
    // Reesim önizleme tagı
    var outImage="previewField";
    // resimsiz gözüken imaj
    var defaultPic="../grafik/bos.gif";

    /***** Ayarlama *****/

    function preview(what){
    var source=what.value;
    var ext=source.substring(source.lastIndexOf(".")+1,source.length).toLowerCase();
    for (var i=0; i<fileTypes.length; i++) if (fileTypes[i]==ext) break;
    globalPic=new Image();
    if (i<fileTypes.length) globalPic.src=source;
    else {
    globalPic.src=defaultPic;
    alert("Resim Önizlemede Problem!!!\nLütfen Aşağıdaki Uzantıları Destekleyen Resim Dosyası Seçiniz:\n\n"+fileTypes.join(", "));
    }
    setTimeout("applyChanges()",200);
    }
    var globalPic;
    function applyChanges(){
    var field=document.getElementById(outImage);
    var x=parseInt(globalPic.width);
    var y=parseInt(globalPic.height);
    if (x>maxWidth) {
    y*=maxWidth/x;
    x=maxWidth;
    }
    if (y>maxHeight) {
    x*=maxHeight/y;
    y=maxHeight;
    }
    field.style.display=(x<1 || y<1)?"none":"";
    field.src=globalPic.src;
    field.width=x;
    field.height=y;
    }
    // Çilem.Net İnternet Hizmetleri/ Web Programlama
    // Son -->
    </script>
    <script language="JavaScript">
    function HaberKontrol(Target) {
    toplamChar = 250
    HaberLen = Target.value.length
    if (HaberLen == 1 && Target.value.substring(0,1) == " ") {
    Target.value = ""
    HaberLen = 0}
    if (HaberLen > toplamChar ) {
    Target.value = Target.value.substring(0,toplamChar)
    kalanKrt = 0
    alert("Eklemek İstediğiniz Kısa Haber "+toplamChar+" Karakteri Geçemez !")
    }
    else {
    kalanKrt = HaberLen
    }
    document.kontrol.counter.value = toplamChar - kalanKrt
    }
    function setFocus() {
    document.kontrol.kisahaber.focus();
    }
    function KontrolEt(fID) {
    if (fID.kisahaber.value=="") { alert("Lütfen İstediğiniz Kısa Haberi giriniz !");return(false); }
    return(true);
    }
    // Çilem.Net İnternet Hizmetleri/ Web Programlama
    </script>

    <div align="center">
    <table border="0" width="822" height="314" cellspacing="0" cellpadding="0" style="border-left-width: 0px; border-right-width: 0px; border-bottom-width: 0px">
    <tr>
    <td height="30" width="820" style="border: 1px solid #F0F0F0" colspan="3" background="grafik/ayrac.gif">
    <p align="left">
    <font color="#FFFFFF" face="Verdana" style="font-size: 8pt"> Sayın  <% =isimsoyad %> Hoşgeldiniz</font></td>
    </tr>
    <tr>
    <td height="163" width="820" colspan="3" style="border: 1px solid #F0F0F0">
    <div align="center">
    <table border="0" width="808" id="table2" cellspacing="0" cellpadding="0" height="161">
    <tr>
    <td width="204" bgcolor="#F9F9F9" rowspan="2"> </td>
    <td width="353" height="19" bgcolor="#FCFBF3">
    <p align="center">
    <font face="Verdana" style="font-size: 8pt">Resmi
    Bilgisayardan Yükle </font><span lang="en">
    <font style="font-size: 8pt" face="Trebuchet MS">¬</font></span></td>
    <td width="251" bgcolor="#F9F9F9" rowspan="2"> </td>
    </tr>
    <tr>
    <td width="353">
    <p align="center">
    <img id="previewField" src="resim/<%=resim%>" style="border:2px solid #FFFFFF; "></td>
    </tr>
    </table></div></td>
    </tr>
    <tr>
    <td height="39" width="257" style="border-left: 1px solid #F0F0F0; border-right: medium none #F0F0F0; border-top: 1px solid #F0F0F0; border-bottom: 1px solid #F0F0F0" bgcolor="#FEFEFC">
    <p align="right">
    <font color="#669900" face="Verdana" style="font-size: 8pt">  
    </font></td>
    <td height="39" width="625" colspan="2" style="border-left: medium none #F0F0F0; border-right: 1px solid #F0F0F0; border-top: 1px solid #F0F0F0; border-bottom: 1px solid #F0F0F0" bgcolor="#FEFEFC">

    <script language="JavaScript">
    function check_frm(){
    if (document.resim.cilem.value == ""){
    alert ("Lütfen Yüklemek İstediğiniz Resmi Seçiniz.");
    document.resim.cilem.focus();
    return false;
    }
    }
    </script>


    <font color="#669900" face="Verdana" style="font-size: 8pt">Lütfen Yüklenecek Resmi Seçin</font><FORM ENCTYPE="multipart/form-data" ACTION="<%if resimbilesen="Fso" then %>yonetimresimyuklefso.asp<% else %>yonetimresimyukle.asp<% end if%>" METHOD="POST" onSubmit="return check_frm()" name="resim">
    <input type="file" name="cilem" size="33" id="label" style="font-family: Tahoma; font-size: 8pt; border: 1px solid #CCCCCC"> <input type=submit value=Yükle name="submit" style="font-family: Tahoma; font-size: 8pt; border-style: ridge; border-width: 1px; color:#FFFFFF; background-image:url('grafik/ayrac.gif')"></form>
    </FORM>
    </tr>
    <tr>
    <td height="9" width="820" colspan="3" style="border-left:1px solid #F0F0F0; border-right:1px solid #F0F0F0; border-top:1px solid #F0F0F0; border-bottom:medium none #F0F0F0; " bgcolor="#FEFEFC"> </td>
    </tr>
    <tr>
    <td height="31" width="820" colspan="3" style="border: medium none #F0F0F0; " background="grafik/gribar.gif"><% if guvenlik(request("hata"))="hata" then%>
    <font face="Tahoma" style="font-size: 8pt; font-weight: 700" color="#FF0066">
    <script>alert('<%=guvenlik(Request.QueryString("hatabilgi"))%>.')
    </script>Durum ! :</font><font face="Tahoma" style="font-size: 8pt; font-weight: 700" color="#111111"> <%=guvenlik(Request.QueryString("hatabilgi"))%></font><font color="#111111"><%else%><%end if%></font>
    </td>
    </tr>
    </table>
    </div>

    <div align="center">
    <script language="JavaScript">
    function check_frmm(){
    if (document.kontrol.kategoriadi.value == ""){
    alert ("Lütfen Kategori Seçiniz.");
    document.kontrol.kategoriadi.focus();
    return false;

    }
    if (document.kontrol.resimsiz.selectedIndex==0){
    alert ('Lütfen Haber Resimlimi Resimsizmi Olacak Belirtiniz.')
    document.kontrol.resimsiz.focus()
    return false
    }



    if (document.kontrol.baslik.value == ""){
    alert ("Lütfen Haber Başlığını Giriniz.");
    document.kontrol.baslik.focus();
    return false;

    }

    if (document.kontrol.kisahaber.value == ""){
    alert ("Lütfen Kısa Haber Bölümünü Doldurunuz.");
    document.kontrol.kisahaber.focus();
    return false;


    }

    if (document.kontrol.kaynakadi.value == ""){
    alert ("Lütfen Haber Kaynağını Belirtiniz.");
    document.kontrol.kaynakadi.focus();
    return false;

    }

    if (document.kontrol.kaynakadresi.value == ""){
    alert ("Lütfen Haber Kaynağı Adresini Belirtiniz.");
    document.kontrol.kaynakadresi.focus();
    return false;
    }
    }
    </script>


    <form method="POST" action="haberkayit.asp" onSubmit="return check_frmm()" name="kontrol">
    <input type="hidden" name="isimsoyad" value="<% =isimsoyad %>">
    <input type="hidden" name="editor" value="<%=admin%>">
    <input type="hidden" name="resim" value="<%=resim%>">
    <input type="hidden" name="haberonay" value="true">
    <table border="0" width="821" id="table1" cellspacing="0" cellpadding="0" height="822" style="border-width:1px; " bordercolor="#E5E5E5">
    <tr>
    <td height="8" width="201" bgcolor="#FCFBF3" style="border-left:1px solid #E5E5E5; border-top:1px solid #E5E5E5; border-right-color:#E5E5E5; border-bottom-color:#E5E5E5">
    <p align="right"><font face="Verdana" style="font-size: 8pt; ">Kategori</font><font face="Trebuchet MS" style="font-size: 8pt; font-weight: 700">
    </font><font face="Trebuchet MS" color="#FF6600">
    <span style="font-weight: 700" lang="en"> ›</span></font></td>
    <td height="8" width="613" bgcolor="#FEFEFC" style="border-right:1px solid #E5E5E5; border-top:1px solid #E5E5E5; border-left-color:#E5E5E5; border-bottom-color:#E5E5E5">
    <p><script language="javascript">
    function listboxchange_kategori(p_index)
    {
    <%
    set rskategori = Server.CreateObject("ADODB.RecordSet")
    sql = "Select * from kategori order by sira asc"
    rskategori.open sql,cilem,1,3
    %>
    switch (p_index)
    {
    <%
    Do Until rskategori.eof
    sec = guvenlik(rskategori("kategoriadi"))
    sayi = 0

    %>
    case "<%=sec%>" :
    <%
    do until rskategori.eof or sec <> guvenlik(rskategori("kategoriadi"))
    %>
    document.kontrol.KATID.options[<%=sayi%>]=new Option("<%=guvenlik(rskategori("KATID"))%>","<%=guvenlik(rskategori("KATID"))%>");
    <%
    sayi = sayi + 1
    rskategori.movenext
    if rskategori.eof then exit do
    Loop
    %>
    break;
    <%
    Loop

    %>
    }
    return true;
    }
    </script><%
    set rskategori = Server.CreateObject("ADODB.RecordSet")
    sql = "SELECT DISTINCT kategoriadi FROM kategori Order By kategoriadi asc"
    rskategori.open sql,cilem,1,3
    %>
    <%
    do until rskategori.eof
    kategoriadi = kategoriadi & "<option value=""" & guvenlik(rskategori("kategoriadi")) & """>" & guvenlik(rskategori("kategoriadi")) & "</option>"
    rskategori.movenext
    loop
    %>
    <font color="#CC0000">


    <%
    set rskategori = Server.CreateObject("ADODB.RecordSet")
    rskategori.open "Select * from kategori Order by Sira asc",cilem,1,3
    if rskategori.eof then
    %></font><font face="Tahoma" style="font-size: 8pt; font-weight: 700"><font color="#CC0000">Kayıtlı Kategori Yok. </font>
    <font color="#333333">Haber veya Yazı Eklemek için Önce Kategori Oluşturulmalı</font>
    <%else%>
    <select class="editbox" name="kategoriadi" onchange="javascript: listboxchange_kategori(this.options[this.selectedIndex].value);" style= "border-style:solid; border-width:1px; font-family:Tahoma; font-size:8pt" size="1" >
    <option selected>Lütfen Seçiniz</option>
    <%=kategoriadi%></select>

    <select name="KATID" style= "font-family:Tahoma; font-size:8pt" style="font-family: Tahoma; font-size: 8pt" size="1">
    </select>
    <%end if%></td>
    </tr>
    <tr>
    <td height="40" width="819" bgcolor="#F0F0F0" style="border-left:1px solid #E5E5E5; border-right:1px solid #E5E5E5; border-top-color:#E5E5E5; border-bottom-color:#E5E5E5" colspan="2">
    <table border="1" width="100%" id="table3" style="border-left-width: 0px; border-right-width: 0px; border-top-width: 0px" bgcolor="#FCFBF3">
    <tr>
    <td style="border-style: none; border-width: medium">
    <table border="1" width="804" id="table12" style="border-width: 0px">
    <tr>
    <td style="border-style: none; border-width: medium" width="196" rowspan="2" bgcolor="#FCFBF3">
    <p align="right"> <font face="Verdana" style="font-size: 8pt; ">      Resmi
    </font>
    <font face="Verdana" style="font-size: 8pt">Yükleme Seçeneği</font><font face="Trebuchet MS" color="#FF6600"><span style="font-weight: 700" lang="en"> ›</span></font><font face="Verdana" style="font-size: 8pt">
    </font></td>
    <td style="border-style: none; border-width: medium" width="598" rowspan="2"> 
    <select name="resimsec" size="1" onchange="if (this.options[this.selectedIndex].value == 'Url') { document.getElementById('sonradan_giris').style.display='block'; } else { document.getElementById('sonradan_giris').style.display='none'; }" style="border-style:groove; border-width:1px; font-family: Trebuchet MS; font-size: 8pt; color:#FF6600">
    <option value="Yukle">Bilgisayardan Yükle
    </option>
    <option value="Url">İnternetten Yükle</option>
    </select> <font face="Verdana" size="1">Resmi İnternetten Yüklemek için Seçim
    Yapınız</font></td>
    </tr>
    </table></tr>
    <tr>
    <td width="98%" height="20" style="border-style: none; border-width: medium">
    <p><SPAN id="sonradan_giris" style="DISPLAY: none"></b>
    <font face="Verdana" style="font-size: 8pt; ">             Resmi İnternetten
    </font><font face="Verdana" style="font-size: 8pt">Yükle
    </font><span style="font-weight: 700" lang="en">
    <font face="Trebuchet MS" color="#FF6600">›</font><font face="Verdana" style="font-size: 8pt">
    </font>
    <font face="Trebuchet MS" style="font-size: 8pt" color="#669900">
    <b> </b><font face="Verdana" style="font-size: 8pt"> <INPUT TYPE="text" NAME="resimurl" style="border:1px groove #E5E5E5; font-family: Verdana; font-size: 8pt; " size="72" id="picField" onchange="preview(this)"> 
    <a href="#|onizleme">
    <img border="0" src="tema/<%=tema%>/onizleme.gif"></a> </td></a></SPAN>
    </tr>
    </table></td>
    </tr>
    <tr>
    <td height="35" width="202" bgcolor="#FCFBF3" style="border-left:1px solid #E5E5E5; border-right-color:#E5E5E5; border-top-color:#E5E5E5; border-bottom-color:#E5E5E5">
    <p align="right"><font face="Verdana" style="font-size: 8pt; ">Haberde Resim</font><font face="Trebuchet MS" style="font-size: 8pt; font-weight: 700">
    </font><font face="Verdana" style="font-size: 8pt">Durumu
    </font>
    <font face="Trebuchet MS" color="#FF6600">
    <span style="font-weight: 700" lang="en">›</span></font></td>
    <td height="35" width="613" bgcolor="#FEFEFC" style="border-right:1px solid #E5E5E5; border-left-color:#E5E5E5; border-top-color:#E5E5E5; border-bottom-color:#E5E5E5">
    <select name="resimsiz" id="resimsiz" size="1" style="font-family: Verdana; font-size: 8pt; border-style: groove; border-width: 1px">
    <option selected>Seçiniz</option>
    <option value="Ac">Ac</option>
    <option value="Kapat">Kapat</option></select>
    <font face="Verdana" size="1">Haberi Resimsiz
    Yayınlamak İstiyorsanız Kapalı Konuma Getiriniz</font></td>
    </tr>
    <tr>
    <td height="26" width="202" bgcolor="#FCFBF3" style="border-left:1px solid #E5E5E5; border-right-color:#E5E5E5; border-top-color:#E5E5E5; border-bottom-color:#E5E5E5">
     </td>
    <td height="26" width="613" bgcolor="#FEFEFC" style="border-right:1px solid #E5E5E5; border-left-color:#E5E5E5; border-top-color:#E5E5E5; border-bottom-color:#E5E5E5">
    <table border="0" width="583" cellspacing="0" cellpadding="0">
    <tr>
    <td width="263" bgcolor="#CC0000">
    <p align="center">
    <font color="#FFFFFF" face="Verdana" style="font-size: 8pt">
    Son Dakika Haberi Olsun? </font>
    <font face="Trebuchet MS" style="font-weight: 700" color="#FFFFFF">
     </font><font face="Trebuchet MS" color="#FFFFFF"><span style="font-weight: 700" lang="en">›</span></font></td>
    <td width="34" bgcolor="#CC0000">
    <font face=Tahoma color=#FF6600 style="font-size: 8pt">
    <input name="sondakika" type="checkbox" id="sondakika" value="True" ></td>
    <td width="245" bgcolor="#000000">
    <p align="center">
    <font color="#FFFFFF" face="Verdana" style="font-size: 8pt">
    Manşet Olsun? </font>
    <font face="Trebuchet MS" style="font-weight: 700" color="#FFFFFF">
     </font><font face="Trebuchet MS" color="#FFFFFF"><span style="font-weight: 700" lang="en">›</span></font></td>
    <td width="41" bgcolor="#000000">
    <font color="#FFFFFF" face="Tahoma" style="font-size: 8pt">
    <input name="mansethaber" type="checkbox" id="mansethaber" value="True" ></font></td>
    </tr>
    </table>
    </td>
    </tr>
    <tr>
    <td height="19" width="201" bgcolor="#FCFBF3" style="border-left:1px solid #E5E5E5; border-right-color:#E5E5E5; border-top-color:#E5E5E5; border-bottom-color:#E5E5E5">
    <p align="right"><font face="Verdana" style="font-size: 8pt"> Başlık
    </font><font face="Trebuchet MS" color="#FF6600">
    <span style="font-weight: 700" lang="en">›</span></font></td>
    <td height="12" width="613" bgcolor="#FEFEFC" style="border-right:1px solid #E5E5E5; border-left-color:#E5E5E5; border-top-color:#E5E5E5; border-bottom-color:#E5E5E5">
    <script language="javascript" type="text/javascript">
    function say(textarea,uzunluk)
    {
    if(window.event.keyCode==13 || textarea.value.length>=uzunluk ) //Basılan tuş ENTER ise
    {//VEYA izin verilen uzunluk aşılacaksa
    window.event.keyCode = 0 ; // Tuşu iptal et.
    }
    spn_say.innerText = uzunluk - textarea.value.length;
    }
    </script>
    <input type="text" name="baslik" size="88" wrap=VIRTUAL id="baslik" onkeypress="javascript:say(this,120)" onkeyup="javascript:say(this,120)" style="font-family: Tahoma; font-size: 8pt">
    Kalan : <span id="spn_say">120</span> </font> </td>
    </tr>
    <tr>
    <td height="32" width="201" bgcolor="#FCFBF3" valign="top" style="border-left: 1px solid #E5E5E5; border-right-color: #E5E5E5; border-top-color: #E5E5E5; border-bottom-color: #E5E5E5">
    <p align="right"><font face="Verdana" style="font-size: 8pt">Kısa
    Haber </font><font face="Trebuchet MS" color="#FF6600">
    <span style="font-weight: 700" lang="en">›</span></font><font face="Verdana" style="font-size: 8pt">
    </font></td>
    <td height="32" width="613" bgcolor="#FEFEFC" style="border-left-color: #E5E5E5; border-right: 1px solid #E5E5E5; border-top-color: #E5E5E5; border-bottom-color: #E5E5E5">
    <textarea name="kisahaber" cols="95" rows="3" class="haberinput" onChange=HaberKontrol(this) onFocus=HaberKontrol(this) onKeyDown=HaberKontrol(this) onKeyUp=HaberKontrol(this) style="font-family: Verdana; font-size: 8pt; border: 1px solid #999999"></textarea></br>
    <input name="counter" size="7" maxlength="3" onFocus=setFocus() class="haberinput" value="250" style="font-family: Verdana; font-size: 10px"></td>
    </tr>
    <tr>
    <td width="201" height="329" valign="top" bgcolor="#FCFBF3" style="border-left: 1px solid #E5E5E5; border-right-color: #E5E5E5; border-top-color: #E5E5E5; border-bottom-color: #E5E5E5">
    <p align="right"><font face="Verdana" style="font-size: 8pt">Haber
    </font><font face="Trebuchet MS" color="#FF6600">
    <span style="font-weight: 700" lang="en">›</span></font></td>
    <td width="613" height="329" bgcolor="#FEFEFC" valign="top" style="border-left-color: #E5E5E5; border-right: 1px solid #E5E5E5; border-top-color: #E5E5E5; border-bottom-color: #E5E5E5">
    <% strFormName = "kontrol"
    strTextAreaName = "haber" %>
    <!--#include file="yazimaraclari/RTE_editor_inc.asp" -->
    <textarea name="haber" cols="72" rows="25" id="haber"></textarea>
    </br>
    </br>
    <div align="center"></div></td>
    </tr>
    <tr>
    <td width="783" height="30" bgcolor="#FCFBF3" style="border-left: 1px solid #E5E5E5; border-right-color: #E5E5E5; border-top-color: #E5E5E5; border-bottom-color: #E5E5E5">
    <p align="right"><font face="Verdana" style="font-size: 8pt">Haber
    Kaynağı Adı </font><font face="Trebuchet MS" color="#FF6600">
    <span style="font-weight: 700" lang="en">›</span></font><font face="Verdana" style="font-size: 8pt">  
    </font></td>
    <td width="613" height="30" bgcolor="#FEFEFC" style="border-left-color: #E5E5E5; border-right: 1px solid #E5E5E5; border-top-color: #E5E5E5; border-bottom-color: #E5E5E5">
    <SELECT NAME="options"
    onChange="this.form.kaynakadi.value=this.options[this.selectedIndex].value" size="1" style="font-family: Verdana; font-size: 10px; border-style: groove; border-width: 1px">
    <option selected>Seçiniz</option>
    <option value="<%=isimsoyad%>">Yönetici</option>
    <OPTION VALUE="<%=siteadi%>">Yonetim
    <OPTION>Başka Site</SELECT><b><font color="#FF6600"><span lang="en">÷</span></font></b><font color="#FFFFFF"><span lang="en">»»</span></font><font color="#FF9900">         
    </font>
    <input name="kaynakadi" size="82" style="font-family: Verdana; font-size: 8pt; border: 1px groove #CCCCCC"></td>
    </tr>
    <tr>
    <td width="783" height="39" bgcolor="#FCFBF3" style="border-left: 1px solid #E5E5E5; border-right-color: #E5E5E5; border-top-color: #E5E5E5; border-bottom-color: #E5E5E5">
    <p align="right"><font face="Verdana" style="font-size: 8pt">Haber
    Kaynağı Adresi </font><font face="Trebuchet MS" color="#FF6600">
    <span style="font-weight: 700" lang="en">›</span></font><font face="Verdana" style="font-size: 8pt">  
    </font></td>
    <td width="613" height="39" bgcolor="#FEFEFC" style="border-left-color: #E5E5E5; border-right: 1px solid #E5E5E5; border-top-color: #E5E5E5; border-bottom-color: #E5E5E5">
    <input name="kaynakadresi" size="82" style="font-family: Verdana; font-size: 8pt; border: 1px groove #CCCCCC"></td>
    </tr>
    <tr>
    <td width="783" height="30" bgcolor="#FCFBF3" style="border-left: 1px solid #E5E5E5; border-right-color: #E5E5E5; border-top-color: #E5E5E5; border-bottom-color: #E5E5E5"> </td>
    <td width="613" height="30" bgcolor="#FEFEFC" style="border-left-color: #E5E5E5; border-right: 1px solid #E5E5E5; border-top-color: #E5E5E5; border-bottom-color: #E5E5E5"> </td>
    </tr>
    <tr>
    <td width="204" height="15" style="border-left: 1px solid #E5E5E5; border-right-color:#E5E5E5; border-top-color:#E5E5E5; border-bottom-color:#E5E5E5" bgcolor="#FCFBF3"> </td>
    <td width="613" height="15" style="border-right: 1px solid #E5E5E5; border-left-color:#E5E5E5; border-top-color:#E5E5E5; border-bottom-color:#E5E5E5" bgcolor="#FEFEFC">
    <input type="submit" value="Haber Kaydet" style="font-family: Verdana; font-size: 10px; border: 1px ridge #CCCCCC; color:#FFFFFF; background-image:url('grafik/ayrac.gif')"> 
    </td>
    </tr>
    <tr>
    <td width="204" height="24" style="border-left: 1px solid #E5E5E5; border-right-color:#E5E5E5; border-top-color:#E5E5E5; border-bottom-color:#E5E5E5" bgcolor="#FCFBF3"> </td>
    <td width="613" height="24" style="border-right: 1px solid #E5E5E5; border-left-color:#E5E5E5; border-top-color:#E5E5E5; border-bottom-color:#E5E5E5" bgcolor="#FEFEFC">
     </td>
    </tr>
    <tr>
    <td width="817" height="34" style="border-left: 1px solid #E5E5E5; border-right-color:#E5E5E5; border-top-color:#E5E5E5; border-bottom-color:#E5E5E5" bgcolor="#FCFBF3" colspan="2" background="grafik/kirmizibar.gif"> </td>
    </tr>
    <tr>
    <td width="819" colspan="2" style="border-left:1px solid #E5E5E5; border-right:1px solid #E5E5E5; border-bottom:1px solid #E5E5E5; ; border-top-color:#E5E5E5"> </td>
    </tr>
    </table>

    </div>



    </body>

    </html>


    bu kod
    ben dbye kategori2yi ekledim.kategori ve kategori2 aynı.kategori2yi kategori ile birlikte nasıl listeleyebilirim







  • set rskategori = Server.CreateObject("ADODB.RecordSet")
    sql = "SELECT DISTINCT kategoriadi FROM kategori Order By kategoriadi asc"
    rskategori.open sql,cilem,1,3
    do until rskategori.eof

    rskategori.movenext
    loop

    set rskategori = Server.CreateObject("ADODB.RecordSet")
    sql = "SELECT DISTINCT kategoriadi FROM kategori2 Order By kategoriadi asc"
    rskategori.open sql,cilem,1,3
    do until rskategori.eof

    rskategori.movenext
    loop
  • olmadı ya
    bu kodu yapınca kategori2 ve kategori listelenmiyor
  • yardım edicek yokmu yav :S
  • kodlar cok ama koyu yerleri veri tabanına gore degistirirsen işini görür,sorunsuz calsısır
    kolay gele



    set rskategori = Server.CreateObject("ADODB.RecordSet")
    sql = "SELECT DISTINCT kategoriadi FROM kategori Order By kategoriadi asc"
    rskategori.open sql,cilem,1,3
    do until rskategori.eof

    rskategori.movenext
    loop

    set rskategori = Server.CreateObject("ADODB.RecordSet")
    sql = "SELECT DISTINCT kategoriadi FROM kategori2 where kategori2id="&rskategori("id")&" "
    rskategori.open sql,cilem,1,3
    do until rskategori.eof
    response.write rskategori("kategoriadi")
    rskategori.movenext
    loop
  • 
Sayfa: 1
- x
Bildirim
mesajınız kopyalandı (ctrl+v) yapıştırmak istediğiniz yere yapıştırabilirsiniz.