

<!DOCTYPE html>

<html lang="tr">



<head>

    <title>Cin Paket Büfe | Online Sipariş</title>

    <meta charset="windows-1254">

    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no" />

    <meta name="author" content="">

    

    <link rel="shortcut icon" href="favicon.ico" type="image/x-icon">

    <link href='https://fonts.googleapis.com/css?family=Roboto:400,300,500,700,900&subset=latin,latin-ext' rel='stylesheet' type='text/css'>

    <!--<link href="assets/fonts/roboto/style.css" rel="stylesheet" type="text/css">-->

    <link href="assets/css/reset.css" rel="stylesheet" type="text/css">

    

    <link rel="stylesheet" href="assets/owl-carousel/owl.carousel.css">

    <link rel="stylesheet" href="assets/owl-carousel/owl.theme.css">

    
    <link href="assets/featherlight/featherlight.min.css" rel="stylesheet" type="text/css">


    <link href="assets/zebradate/css/bootstrap.css" rel="stylesheet" type="text/css">


   


    <link href="assets/css/style.css" rel="stylesheet" type="text/css">
    <link href="assets/css/mobile.css" rel="stylesheet" type="text/css">
    <link href="assets/css/cpaket.css" rel="stylesheet" type="text/css">

    
    <style>
    
    
    
@media only screen and (max-width: 768px){
	.mnav li {
    width: 33%;
	}

.mmenu div {

    background: #ffedc9;

}



.urunlist .btnsepet i {
    display: none;

}


 }   
    </style>


    <meta name="description" content="Cin Paket Büfe,internet kullanıcılarının online olarak yemek sipariş etmelerini sağlayan kapsamlı bir sipariş sistemidir.">

    <meta name="keywords" content="cinpaketbüfe,paket,bif,sipariş,paket,cart,order,restoran,fastfood,döner,dürüm,menejer,eadisyon,1001kart,online">

    

    <meta property="og:type"   content="website">

    <meta property="og:url"    content="http://cinpaket.com">

    <meta property="og:title"  content="Cin Paket Büfe | Online Sipariş">

    <meta property="og:description" content="Cin Paket Büfe,internet kullanıcılarının online olarak yemek sipariş etmelerini sağlayan kapsamlı bir sipariş sistemidir.">

    <meta property="og:image"  content="http://cinpaket.com/img/cin_about.jpg">

    

    <meta name="twitter:card" content="summary_large_image">

    <meta name="twitter:site" content="@durumcu_bekir">

    <meta name="twitter:creator" content="@gho_style">

    <meta name="twitter:title" content="Cin Paket Büfe | Online Sipariş">

    <meta name="twitter:description" content="Cin Paket Büfe,internet kullanıcılarının online olarak yemek sipariş etmelerini sağlayan kapsamlı bir sipariş sistemidir.">

    <meta name="twitter:image" content="http://cinpaket.com/img/cin_about.jpg">

    

</head>

<body class="boxed">
    <div class="bodybg"></div>


<script type="text/javascript">
   


function isNumber(n) {
  return !isNaN(parseFloat(n)) && isFinite(n);
}


function karakterbak1(str){
    var bl=0
    
    var rgch = "abcdefghijklmnopqrstuvwxyz" 
    rgch = rgch + rgch.toUpperCase() + "0123456789-_çÇğĞıİöÖşŞüÜ"
    for (var i=1;i<=str.length;i++)
        { 
        textara=str.substring(i-1,i)
            for (var j=1;j<=rgch.length;j++)
            {           
                ara=rgch.substring(j-1,j)
                if (textara != ara)  
                    {bl=bl+1;}
            }
         }
    
    if ( bl > str.length*(rgch.length-1) )
        {return false;}
    else
        {return true;}
    
}



function sayibak1(str){
    var bl=0
    var rgch = "0123456789" 
    
    for (var i=1;i<=str.length;i++)
    { 
        textara=str.substring(i-1,i)
    
        for (var j=1;j<=rgch.length;j++)
        { 
            ara=rgch.substring(j-1,j)
            if (textara != ara)  
                {bl=bl+1;}
        }

    }

    if ( bl > str.length*(rgch.length-1) )
        {return false;}
    else
        {return true;}

}


function isDate(txtDate, separator) { 
var aoDate,           // needed for creating array and object      
    ms,               // date in milliseconds       
    month, day, year; // (integer) month, day and year   
    // if separator is not defined then set '/'    
    if (separator === undefined) {        
    separator = '/';    
    }    
      // split input date to month, day and year    
    aoDate = txtDate.split(separator);    
    // array length should be exactly 3 (no more no less)    
    if (aoDate.length !== 3) {        
        return false;    
    }
    // define month, day and year from array (expected format is m/d/yyyy)    
    // subtraction will cast variables to integer implicitly   
    month = aoDate[1] - 1; // because months in JS start from 0   
    day = aoDate[2] - 0;   
    year = aoDate[0] - 0;    
    // test year range   
    if (year < 1000 || year > 3000) {        
        return false;    
    }    
    // convert input date to milliseconds  
    ms = (new Date(year, month, day)).getTime();    
    // initialize Date() object from milliseconds (reuse aoDate variable)  
    aoDate = new Date();    
    aoDate.setTime(ms);    
    // compare input date and parts from Date() object    
    // if difference exists then input date is not valid  
    if (aoDate.getFullYear() !== year ||
        aoDate.getMonth() !== month ||  
        aoDate.getDate() !== day) {       
        return false;    
        }    
        // date is OK, return true    
        return true;
}

function alt1(){

alert('test');

}

function ismaxlength(obj){
    var mlength=obj.getAttribute? parseInt(obj.getAttribute("maxlength")) : ""
    
    if (obj.getAttribute && obj.value.length>mlength)
        {obj.value=obj.value.substring(0,mlength)}

}

    function furunspec(id){
        
        //var current = $.featherlight.current();
        //if (current!="undefined"){current.close();}
        

        $.featherlight( $('#'+id), { type:'jquery', closeOnClick:false, closeOnEsc:false, beforeClose:function(){
            
                if(isMobile){$('html,body').css('overflow','visible'); }
            
            }
        });
        
        if(isMobile){
            $('html,body').css('overflow','hidden');
        }
        
        //return false;
    }


function  ozellikekle(id,urnno,ozlno){
        
$('#'+id,'.featherlight').each(function(){

  

        if( !$(this).hasClass('dis') ){
            
            if( $('.adresler').length >0 ){
                $('.adresler .urunspec_radi').removeClass('chc');
            }
            
            if( $(this).hasClass('chc') ){
                $(this).removeClass('chc');
                $('input',this).prop('checked', false);

                ozellik(ozlno,urnno,'cika');

            }else{
                $(this).addClass('chc');
                $('input',this).prop('checked', true);

                ozellik(ozlno,urnno,'ekle');
            }
            
            if($('.featherlight').length > 0){ fiyatHesapla(); }
            
        }

});

 
    }


function RefreshImage(valImageId) {
    var objImage = document.images[valImageId];
    if (objImage == undefined) {
        return;
    }
    var now = new Date();
    objImage.src = objImage.src.split('?')[0] + '?x=' + now.toUTCString();
}


function menu_hy(id){


var eski = document.getElementById('menusecilmisid').value
ideski="id_"+eski


document.getElementById(ideski).className=''

document.getElementById(ideski).onmouseout=function (){this.className=''}


//document.getElementById(ideski).onmouseup="this.className='kkat'"



ideski="id_"+id
document.getElementById(ideski).className='active'
document.getElementById(ideski).onmouseout=function (){this.className='active'}
//document.getElementById(ideski).onmouseup="this.className='kkat_sel'"



document.getElementById('menusecilmisid').value=id


}

function sepetfrmctrl() {




if (document.getElementById("idsepetdolbos").value=='0' ){
    
    if (confirm('Paketinizde henüz ürün yok. Sipariş vermek ister misiniz?.')){window.location.href='?urunlist'}
    //alert('Paketinizde henüz ürün yok. Lütfen ürün ekleyiniz.');
    return false;
}

                    
if (window.sepetfrm.adres.value=='' && window.sepetfrm.adrestarifi.value==''){
    alert('Adres veya Adres tarifinden en az birini doldurunuz');
    return false;
}


if (window.sepetfrm.sube.value==0){
    alert('Lütfen bir şube seçiniz.');
    return false;
}




window.sepetfrm.submit();



return true;

}



function fajax_hy(frmname,itd,op,op2,str1) {
    var xmlhttp;
    frmstr='';
 
    if (window.XMLHttpRequest)
    {// code for IE7+, Firefox, Chrome, Opera, Safari
//Set xmlhttp= CreateObject("MSXML2.XMLHTTP")  
    xmlhttp=new XMLHttpRequest();
    }
    else
    {// code for IE6, IE5
    xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
    }
    xmlhttp.onreadystatechange=function(){
        if (xmlhttp.readyState==4 && xmlhttp.status==200)
            {


            if (itd=='hy_menudiv')  
                {   
                    document.getElementById(itd).innerHTML=xmlhttp.responseText
                    //$("#hy_menutd").fadeIn();
                    fajax_hy('','hy_maindiv','urun','','');
                    
                }


            if (itd=='hy_nobjects')  
                {   
                    document.getElementById(itd).innerHTML=xmlhttp.responseText;
                    
                    //fajax_hy('','hy_menudiv','menu','','');
    

                }

            if (itd=='sptkalem')  
                {   
                    document.getElementById(itd).innerHTML=xmlhttp.responseText;
                    
                    document.getElementById('spankalem').innerHTML=xmlhttp.responseText;
                    
    

                }




            if (op=='urun')  
                {
                
                    menuid1=document.getElementById('menusecilmisid').value
                    menu_hy(menuid1)
                    
                    document.getElementById(itd).innerHTML=xmlhttp.responseText
                    parseScript(xmlhttp.responseText);
                    $("#hy_uruntd").fadeIn();
                    //document.getElementById('loaderhy_maindiv').innerHTML='';
				
                
					imggen();
					scrolurn();
				
                }


            if (itd=='hy_cartdiv')  
                {   
                    document.getElementById(itd).innerHTML=xmlhttp.responseText;
                    document.getElementById('spankalem').innerHTML=document.getElementById('in_sepetad').value;           
                    document.getElementById('sptkalem').innerHTML=document.getElementById('in_sepetad').value;  
                        if (str2>0)
        
                        {
                        blinkit('tdi_'+str2)
                        }
                }           


            if (op=='sipgetirpaket')  
                {
                
                    //menuid1=document.getElementById('menusecilmisid').value
                    //menu_hy(menuid1)
                    
                    document.getElementById(itd).innerHTML=xmlhttp.responseText
                    //$("#hy_uruntd").fadeIn();
                    //document.getElementById('loaderhy_maindiv').innerHTML='';
                    document.getElementById('spankalem').innerHTML=document.getElementById('in_sepetad').value;
                
                
                    if ($('#puanyetermi').html().indexOf("puanvar")>=0){
                    
                    
                    
                        tblhobi='<div id="hobipuantbl"><table border="0" style="border-collapse: collapse" cellspacing="1" ><tr>'
                        tblhobi=tblhobi +'<td id="hobipuan1"><input type="radio" name="odemesekli" id="idodemesekli8" value="Puan" ></td>'
                        tblhobi=tblhobi +'<td id="hobipuan2"><label for="idodemesekli8">Puan</label></label></td>'
                        tblhobi=tblhobi +'<td><div id="puanmsg" class="uyebaslik"> &nbsp;&nbsp;Siparişinizi puanınız ile ödeyebilirsiniz.</div></td></tr></table></div>'
                    
                    
                    document.getElementById('puantd').innerHTML=tblhobi
                    
                    
                    
                        if ($('#puanmsg').html()!='undefined'){
                    
                    blinkk('#puanmsg');
                    
                    }
                    }
                    
                    else{
                    
                            tblhobi='<div id="hobipuantbl"><table border="0" style="border-collapse: collapse" cellspacing="1" ><tr>'
                        tblhobi=tblhobi +'<td><div id="puanmsg" class="uyebaslik">Puanınız paket turanızı karşılıyor ise otomatik olarak ödeme seçeneklerine "Puan" eklenecektir.</div></td></tr></table></div>'
                    
                    
                    document.getElementById('puantd').innerHTML=tblhobi
                    
                
                    
                    }
                
                
                }






        if (itd=='urunduzenle')  
    {   
        
        $("#ulist").fadeOut();
        
        
        
        document.getElementById(itd).innerHTML=xmlhttp.responseText
        
        //document.getElementById('loadertdurunler').innerHTML=''
        
        $("#ulist").fadeIn();
        
    
    }


        if (itd=='urunresimduzenle')  
    {   
        
        
        document.getElementById(itd).innerHTML=xmlhttp.responseText
        
        //document.getElementById('loadertdurunler').innerHTML=''
        
        
    
    }

        if (itd=='siparisdetay')  
    {   
        
        
        document.getElementById(itd).innerHTML=xmlhttp.responseText
        
        document.getElementById('sipyazdirbtn'+str1).click();
        
        //document.getElementById('loadertdurunler').innerHTML=''
        
        
    
    }




        if (itd=='idyenisip')  
    {   
        
         
        document.getElementById(itd).innerHTML=''
 
        
    if (xmlhttp.responseText.indexOf("yenisipyok")<=0) {        
    
    document.getElementById(itd).innerHTML=xmlhttp.responseText;
    
    
    
    $('#msgyenisip').fadeIn('slow')
    
    PlaySound('REMINDER.WAV');
    
        
    $('#test').html($('#tblsip').html()+$('#test').html());
    
    $('#tblsip').html('');
    
    }
    

    

    
        //document.getElementById('loadertdurunler').innerHTML=''
        
        
        
    
    }
    

    if (itd=='divdurum_'+str1)  
    {
    
    
    document.getElementById(itd).innerHTML=xmlhttp.responseText;
    
    document.getElementById('idD1_'+str1).value=sipdurumm;
    
    //alert(document.getElementById('idD1_'+str1).value)
    
    $('#iddiv_'+str1).fadeIn('slow');
    
    if(sipdurumm=='0'){ document.getElementById('id_tr_bek'+str1).className='info';}
    if(sipdurumm=='1'){ document.getElementById('id_tr_bek'+str1).className='info';}
    if(sipdurumm=='2'){ document.getElementById('id_tr_bek'+str1).className='';
    
    
    document.getElementById('sipdetaybtn'+str1).click();
    }
    if(sipdurumm=='3'){ document.getElementById('id_tr_bek'+str1).className='warning';}
    if(sipdurumm=='4'){ document.getElementById('id_tr_bek'+str1).className='success';}
    if(sipdurumm=='5'){ document.getElementById('id_tr_bek'+str1).className='error';}
    

    

    //blinkit('id_tr_bek'+str1) ;   
    
    }
    
    if (itd=='divurntip')  
    {
    
    
    document.getElementById(itd).innerHTML=xmlhttp.responseText;
    

        
    
    }   
    
    if (itd=='tdsepet')  
    {
    
    
    document.getElementById(itd).innerHTML=xmlhttp.responseText;
    
    
        
    
    }
    

    if (itd=='tdsepetpaket')  
    {
    
    document.getElementById(itd).innerHTML=xmlhttp.responseText;
    
    //document.getElementById('td_sepetad').innerHTML=request.Cookies("kalem");
    
    }
    





    
    
    

    
     }
   else
    {
    
   
   //   document.getElementById(idbg).style.backgroundImage='url("fimages/ajax-loader_t.gif")';
   //   document.getElementById(idbg).style.backgroundPosition='center';
   //   document.getElementById(idbg).style.backgroundRepeat='no-repeat';
    
    
    
   //   document.getElementById(itd).innerHTML=xmlhttp.responseText;
    
    //document.getElementById('td_sepetad').innerHTML=document.getElementById('in_sepetad').value
    
    if (op=='urun') {
    document.getElementById('loader'+itd).innerHTML=document.getElementById('msg'+itd).innerHTML; //loadin eklemk için
    $("#hy_uruntd").fadeTo('fast',0.50);
    }

        if (itd=='divdurum_'+str1)  
    {
    
    document.getElementById(itd).innerHTML=document.getElementById('sipdurumload').innerHTML;
    
    
    }

        if (itd=='siparisdetay')  
    {
    
    document.getElementById(itd).innerHTML=document.getElementById('siparisdetayload').innerHTML;
    
    
    }  
    
  
    
    
    //document.getElementById().offsetHeight
     // document.getElementById().offsetWidth
  
    }  
   }
 

    if (itd=='urunduzenle')  {

document.getElementById(itd).innerHTML=document.getElementById('msg'+itd).innerHTML

}


    if (itd=='idyenisip')  {

StopSound();
}


    if (itd=='divdurum_'+str1)  {
    
    sipdurumm=document.getElementById('idD1_'+str1).value

    frmstr='&sipdurum='+document.getElementById('idD1_'+str1).value
    
   
    }
 
 //if (frmname<>''){frmstr='&'+getquerystring(frmname)}
 
 var params="op="+op+"&op2="+op2+"&str1="+str1+frmstr;

 xmlhttp.open("POST","hy/hy_ajax.asp",true);
 
 xmlhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
 xmlhttp.setRequestHeader("Content-length", params.length);
 xmlhttp.setRequestHeader("Connection", "close");
 xmlhttp.setRequestHeader("If-Modified-Since", "Sat, 1 Jan 2000 00:00:00 GMT");
  
 xmlhttp.send(params);


 }



</script>

<script>
function parseScript(strcode) {
  var scripts = new Array();         // Array which will store the script's code
  
  // Strip out tags
  while(strcode.indexOf("<script") > -1 || strcode.indexOf("</script") > -1) {
    var s = strcode.indexOf("<script");
    var s_e = strcode.indexOf(">", s);
    var e = strcode.indexOf("</script", s);
    var e_e = strcode.indexOf(">", e);
    
    // Add to scripts array
    scripts.push(strcode.substring(s_e+1, e));
    // Strip from strcode
    strcode = strcode.substring(0, s) + strcode.substring(e_e+1);
  }
  
  // Loop through every script collected and eval it
  for(var i=0; i<scripts.length; i++) {
    
    console.log(i);
      eval(scripts[i]);
   
   
  }
}



</script>



    

    

    <div class="mmenu">

        <div>

            <a href="" class="mmenu_close"></a>

            <ul>

                <li><a href="?">ANASAYFA</a></li>


                <li><a href="#" onclick="furunspec('divsubeler');return false;">ÜRÜNLER</a></li>

                <li><a href="?subeler">ŞUBELER</a></li>


                <li><a href="?haberler">HABERLER</a></li>

                <li><a href="?hakkimizda">HAKKIMIZDA</a></li>
                <li><a href="?"></a></li>




            </ul>

        </div>

    </div>

    

    <div class="mnav">



        <ul>

            <li><a href="?giris" class="sip">SİPARİŞLERİM</a></li>

            

            <li><a href="?sepetim" class="sep">SEPETİM<i><span id="spankalem">0</span></i></a></li>

            <li><a href="?giris" class="hes">HESABIM</a></li>

        </ul>



    </div>

    

    <header>

        

        <section id="topbar">

        <div class="wrapper">

                

            <div class="topbar">

            

                <div class="logo"><a href="?"><img src="assets/images/logo.png" /></a><h1>Cin Paket Büfe</h1></div>

                <a href="?sepetim" class="mmenu_sepet"><span id="sptkalem"></span></a>

                <a href="" class="mmenu_open"></a>

  <script type="text/javascript">
    
       fajax_hy('','sptkalem','cartcount','','')

</script>              

                <ul class="topbar_menu">

                    <li><a href="?">ANASAYFA</a></li>


                    <li><a href="#" onclick="furunspec('divsubeler');return false;">ÜRÜNLER</a></li>


                    <li><a href="?subeler">ŞUBELER</a></li>



                    <li><a href="?haberler">HABERLER</a></li>

                    <li><a href="?hakkimizda">HAKKIMIZDA</a></li>
                





                </ul>

                

            </div>

            

        </div>

        </section>
<div style="display: none;">
<div id="divsubeler" style="max-width: 400px;" >


                 

                <div class="pgsbox" >

                <h2 class="pgstitle wbr">Lütfen Sipariş Vermek İsteğiniz Şubemizi Seçiniz.</h2>
                    
                    <ul class="urunkats">

                        <li><a href="?islem/subesec/41" ><span>Dikkaldırım</span></a></li>



                    </ul>

                    
                </div>


</div>        
</div>
        <section id="navbar">

        <div class="wrapper">

            

            <div class="navbar">

                

                <ul class="navbar_menu">
                 

                    <li class="btn"><a href="?giris">GİRİŞ YAP</a></li>

                    <li class="btn"><a href="?kayit">KAYIT OL</a></li>



                </ul>

            
                

            </div>

            

        </div>

        </section>

    

    </header>

    

    

    

    <section>

    <div class="wrapper">
    <div class="whitebg">


        <div class="page">

        
			<div class="showbar">
                <a href="" class="showbar_nav prev"></a>
                <a href="" class="showbar_nav next"></a>
				<ul class="owl-carousel owl-theme" style="opacity: 1; display: block;">
                   
							
												<li class="item"><a href="#">
												<img src="img/cpaket_m01.jpg" alt=""><span>&#8378; 325.00</span></a></li>
											
												<li class="item"><a href="#">
												<img src="img/cpaket_m02.jpg" alt=""><span>&#8378; 295.00</span></a></li>
										
												<li class="item"><a href="#">
												<img src="img/cpaket_m03.jpg" alt=""><span>&#8378; 280.00</span></a></li>
								                
                    
                </ul>
            </div>
            

	

            </div>

<style>
.mostbar li{width: 300px;}
</style>            

<div class="textbar_news">
                <h2 class="subtitle"><i></i> BİZDEN HABERLER</h2>
                <ul>
                    <li class="item">
                    
                    </li>
                </ul>
            </div>



        

        </div>





    </div>
    </div>

    </section>

    

    

    <footer>

    <div class="wrapper">

            

        <div class="footer_menu">

            <h2 class="footertitle">Hızlı Menü</h2>

            <ul>

                <li><a href="?">Anasayfa</a></li>

                <li><a href="?urunlist">Ürünler</a></li>


                <li><a href="?haberler">Haberler</a></li>

                <li><a href="?subeler">Şubeler</a></li>

                

            </ul>    

        </div>

        

        <div class="footer_oth">

            <h2 class="footertitle">Diğer Bilgiler</h2>

            <ul>

                <li><a href="?hakkimizda">Hakkımızda</a></li>


                <li><a href="?iletisim">İletişim</a></li>
                
            </ul>    

        </div>

        

        <div class="footer_social">

            <h2 class="footertitle">Sosyal Medyada Biz</h2>

            <ul>

                <li><a href="" class="sface" title="Facebook">Facebook</a></li>

                <li><a href="" class="stwet" title="Twitter">Twitter</a></li>

                <li><a href="" class="syout" title="Youtube">Youtube</a></li>

                <li><a href="" class="sinst" title="Instagram">Instagram</a></li>



            </ul>    

        </div>

        

        <div class="footer_tel" style="display:">

                            

                <a href="?subeler" class="textbar_subelerbtn"><span>ŞUBELERİMİZ</span><br />Size en yakın şubemiz ?</a>

                 

               

        </div>

        

        <div class="footercopy">

            <img src="assets/images/logo_mini.png" alt="" />

            <div>

                <span class="mini">

                    Cin Paket Büfe<br>
                    © 2018 <br>
                    Tüm Hakları saklıdır. 


                </span>

                <span class="all">

                    Cin Paket Büfe<br>
                    © 2018 <br>
                    Tüm Hakları saklıdır. 

                </span>

            </div> 

        </div>

                        

    </div>

    </footer>

    



    
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js" type="text/javascript"></script>



    <script type="text/javascript" src="assets/js/jquery.simulate.js"></script>

    <script type="text/javascript" src="assets/featherlight/featherlight.min.js"></script>

    <script type="text/javascript" src="assets/zebradate/js/zebra_datepicker.js"></script>

    <script type="text/javascript" src="assets/js/jquery.cycle.lite.js"></script>
    
    <script src="assets/owl-carousel/owl.carousel.js" type="text/javascript"></script>

    <script src="assets/js/main.js?F2E0HFU82S6JKWXBE7XV" type="text/javascript"></script>

<script>


function sepethigh(){


  var desiredHeight = $("body").height() - $("header").height() - $("footer").height();
  
  if ($('.scrl')) {
		
	$(".scrl").css("max-height", desiredHeight-150 + "px" );

}

}



function imggen(){


if($('.urunlink img').length>0){ 

liwidth=$('.urunlink').width()
imgwidth=$('.urunlink img').width()

imgwidth=210

 
console.log(liwidth);
console.log(imgwidth);

if (liwidth<imgwidth){

$('.urunlink img').css('left', (liwidth-imgwidth)/2+'px'); 
	}
else {

$('.urunlink img').css('left', '0px'); 

}

$('.urunlink img').css('left', (liwidth-imgwidth)/2+'px'); 


console.log((liwidth-imgwidth))

}



}


function scrolurn(){

 $('html, body').animate({
        scrollTop: $(".urunlist").offset().top-300
    }, 100);


}

function pagehigh(){

  var desiredHeight = $("body").height() - $("header").height() - $("footer").height();
  $(".page").css("min-height", desiredHeight-50 + "px" );
  //$(".page").height(desiredHeight-138)
  



  console.log(desiredHeight );

}

$(document).ready(function() {

pagehigh();
 
imggen();

 
});

$(window).resize(function() {

pagehigh();

if($('aside').length>0){ $('aside').css('left', $('aside').offset().left-8+'px'); }

imggen();

  
});



</script>


</body>

</html>



