• 29-08-2012, 21:32:47
    #1
    Kimlik doğrulama veya yönetimden onay bekliyor.
    php manşet sistemi buldum güzel bunu asp ye cevirmek için ne yapmak gerek

    <? 
    
    $id = htmlspecialchars($_GET['id']); 
    ?>
    <script type="text/javascript">
    $(document).ready(function(){
    	jQuery(".niceshot").css("opacity","0.7");
    	});
    </script>
    <div class="mmanset">
    <div class="mmansetler">
    <?php
    $i=0;
    
    $haberal=@mysql_query("select * from haberler where  manset='evet' order by id desc limit 9");
    while($hab=@mysql_fetch_array($haberal))
    {
    	$i++;
    ?>
    
    	<div id="mmanset-<?php echo $i; ?>" class="mmansetresimler" <?php if($i==1){ ?>style="display:block;position:relative;"<?php } else {?>style="display:none;position:relative;"<? } ?> ><a href="haberler-<?=$hab[id];?>-<?=seoyap($hab[baslik]);?>.html"> <img src="images_up/<?=$hab[resim];?>" width="658"  /> </a>
        <div class="niceshot" style="position:absolute;bottom:0px;width:538px;height:25px;color:white;font-weight:bold;padding:10px;background-color:red;margin-bottom:4px;margin-right:4px;"></div>
       <div style="position:absolute;bottom:0px;width:100%;height:30px;color:white;font-weight:bold;padding:10px;"><h1><?=$hab[baslik]?></h1></div>
        </div>
        
            <?php
    	}
    	?>
        
        <div class="mmansetkresimler">
       
        
        	<?php
    	$i=0;
    	$haberala=@mysql_query("select * from haberler where  manset='evet' order by id desc limit 9");
    	while($haba=@mysql_fetch_array($haberala))
    	{
    		$i++;
    	?>
        	<a href="haberler-<?=$haba[id];?>-<?=seoyap($haba[baslik]);?>.html" onmouseover="clearFuto();" onmouseout="setFuto()" onmousemove="displayDiv(<?php echo $i; ?>)"><div id="mmansetk-<?php echo $i; ?>" class="<?php if($i==1){echo 'akt'; }else{ echo 'pas'; }?>"><img src="images_up/<?=$haba[resim];?>"  /> </div></a>
    <?php
    }
    ?>
        </div>
    </div>
  • 29-08-2012, 21:35:31
    #2
    PHP'yi, o kodları anlayabilecek; ASP'yi de, o PHP kodlarının yaptığı işlemi yapabilen bir script yazabilecek kadar bilmeniz gerekiyor. Yani kısacası PHP ve ASP bilmeniz gerekiyor. Tabi bunları bilen birine verebilecek paranız yoksa.
  • 29-08-2012, 22:12:42
    #3
    Üyeliği durduruldu
    Php ve asp biliyorsan çevirirsin, bilmiyorsan php ve asp bilen birini bulacak ve çevirteceksin.
  • 29-08-2012, 23:27:10
    #4
    Üyeliği durduruldu
    Ayak üstü kısaca düzenledim, işini görür büyük ihtimalle
    <script type="text/javascript">
    $(document).ready(function(){
        jQuery(".niceshot").css("opacity","0.7");
        });
    </script>
    <div class="mmanset">
    <div class="mmansetler">
    <%
    
    
    sql = "select * from haberler order by id desc limit 0,10"
    set rs = baglanti.execute(sql)
    
    
    sayi = 0
    do until rs.eof
    sayi = sayi + 1
    isim = rs("isim")
    resim = rs("resim")
    id = rs("id")
    %>
    
         <div id="mmanset-<%=id%>" class="mmansetresimler"<% if sayi  = 1  then%>style="display:block;position:relative;"<%else%>style="display:none;position:relative;"<%end  if%>><a href="haberler-<%=id%>-link_adi.html">  <img src="images_up/<%=resim%>" width="658"  /> </a>
          <div class="niceshot"  style="position:absolute;bottom:0px;width:538px;height:25px;color:white;font-weight:bold;padding:10px;background-color:red;margin-bottom:4px;margin-right:4px;"></div>
         <div  style="position:absolute;bottom:0px;width:100%;height:30px;color:white;font-weight:bold;padding:10px;"><h1><%=isim%></h1></div>
        </div>
        <%
        rs.movenext
        loop
        rs.close : set rs = nothing 
        %>
        
        <div class="mmansetkresimler">
       
        <%
        set rs = baglanti.execute(sql)
        
        sayi = 0
        do until rs.eof
        sayi = sayi + 1
        
        isim = rs("isim")
        resim = rs("resim")
        id = rs("id")
        %>
            
             <a href="haberler-<%=id%>-link_adi.html"  onmouseover="clearFuto();" onmouseout="setFuto()"  onmousemove="displayDiv(<%=sayi%>)"><div  id="mmansetk-<%=sayi%>" class="<%if sayi = 1  then%>akt<%else%>pas<%end if%>"><img  src="images_up/<%=resim%>"  /> </div></a>
    
    <%rs.movenext
    loop
    rs.close : set rs = nothing%>
        </div>
    </div>
  • 30-08-2012, 01:48:52
    #5
    Üyeliği durduruldu
    <%
    id = request.querystring("id")
    %>
    <script type="text/javascript">
    $(document).ready(function(){
        jQuery(".niceshot").css("opacity","0.7");
        });
    </script>
    <div class="mmanset">
        <div class="mmansetler">
            <%
                divstyle = "display:none;position:relative;"
                classname = "pas"
            
                set haberal = veritabaniconnectionstringadin.execute("select * from haberler where  manset='evet' order by id desc limit 9")
                do until haberal.eof
                i = i+1
                if i = 1 then
                    divstyle = "display:block; position:relative;"
                end if
            %>
            <div id="mmanset-<%=i%>" class="mmansetresimler" style="<%=divstyle%>" >
                <a href="haberler-<%=haberal("id")%>-<%=haberal("baslik")%>.html"> <img src="images_up/<%=haberal("resim")%>" width="658"  /> </a>
                <div class="niceshot" style="position:absolute;bottom:0px;width:538px;height:25px;color:white;font-weight:bold;padding:10px;background-color:red;margin-bottom:4px;margin-right:4px;"></div>
                <div style="position:absolute;bottom:0px;width:100%;height:30px;color:white;font-weight:bold;padding:10px;"><h1><%=haberal("baslik")%></h1></div>
            </div>
             <div class="mmansetkresimler">
             <%
             i = 0
             set haberala = veritabaniconnectionstringadin.execute("select * from haberler where  manset='evet' order by id desc limit 9")
             do until haberala.eof
             i = i+1
             if i = 1 then
                classname = "akt"
            end if
             %>
                <a href="haberler-<%=haberala("id")%>-<%=haberala("baslik")%>.html" onmouseover="clearFuto();" onmouseout="setFuto()" onmousemove="displayDiv(<%=i%>)"><div id="mmansetk-<%=i%>" class="<%=classname%>"><img src="images_up/<%=haberala("resim")%>"  /> </div></a>
        </div>
    </div>