Sindbad~EG File Manager

Current Path : C:/Inetpub/vhosts/yuksekkariyer.com/httpdocs/admin/
Upload File :
Current File : C:/Inetpub/vhosts/yuksekkariyer.com/httpdocs/admin/ebulten.aspx

<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.master" enableEventValidation="false" ClientIDMode="Static" ValidateRequest="false" AutoEventWireup="true" CodeFile="ebulten.aspx.cs" Inherits="Admin_ebulten" %>
<%@ Register TagPrefix="cc1" Namespace="SiteUtils" Assembly="CollectionPager" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
     <style type="text/css">
        .Sayfalama a:link, .Sayfalama a:visited, .Sayfalama a:active
{
    background-image:url('images/sayfabg.jpg');
    border:solid 1px #e4e4e4;
    padding:3px 5px 3px 5px;
    margin:1px; 
    font-size:9pt;
    color:#2f2f2f;
    font-weight:bold;
    text-decoration:none;
    font-family:Trebuchet MS;
    cursor:pointer;
}
 
.Sayfalama a:hover
{
    background-image:url('images/sayfabg2.jpg');
    border:solid 1px #e4e4e4;
    padding:3px 5px 3px 5px;
    font-size:9pt;
    color:White;
    font-family:Trebuchet MS;
    cursor:pointer;
}
 
.Sayfalama INPUT
{   background-image:url('images/sayfabg.jpg');
    border:solid 1px #e4e4e4;
    padding:3px 5px 3px 5px;
    margin:1px; 
    font-size:9pt;
    color:#2f2f2f;
    font-weight:bold;
    font-family:Trebuchet MS;
    cursor:pointer;
}
 
.Sayfalama span
{
    margin:1px;
}
 
.Sayfalama B
{
    background-image:url('images/sayfabg2.jpg');
    border:solid 1px #e4e4e4;
    padding:3px 5px 3px 5px;
    font-size:9pt;
    color:White;
    font-family:Trebuchet MS;
    cursor:pointer;
}

    </style>

       <script type="text/javascript">
           function sil(id) {
               console.log(id);
               var res = confirm("Silmek istediğinizden eminmisiniz ?");
               if (res) {
                   console.log(res);
                   $.ajax({
                       type: "POST",
                       url: "ebulten.aspx/Sil",
                       data: "{id:" + id + "}",
                       contentType: "application/json; charset=utf-8",
                       dataType: "json",
                       success: function(res) {
                           console.log(res.d);
                           if (res.d == true) {
                               $("tr[id=" + id + "]").remove();
                           } else {
                               alert("İşlem gerçekleşmedi.");
                           }
                       },
                       error: function(res) {
                           alert("hata oluştu: " + res.d);
                       }
                   });
               }
           }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
        <div class=" row show-grid">

    </div>
    

    <!-- Matter -->
    <div style="margin-top: 5px;">
        <div class="container">
            <!-- Table -->
            <div class="row">
                <div class="col-md-12">
                    <div class="widget">
                        <div class="widget-head">
                            <div class="pull-left">
                              E-Bülten Listesi
                            </div>
                            <div class="widget-icons pull-right">
                                <a href="#" class="wminimize"><i class="fa fa-chevron-up"></i></a>
                            </div>
                            <div class="clearfix">
                            </div>
                        </div>
                        <div class="widget-content">
                            <table class="table table-striped table-bordered table-hover" style="vert-align: top">
                                <thead>
                                    <tr>
                                        <th>Mail
                                        </th>
                                        <th>Tarih
                                        </th>
                                      
                                         <th>  Sil</th>
                                    </tr>
                                </thead>
                                <tbody>
                                  <%-- Repeater --%>
                                    <asp:Repeater ID="rptKurumsalListe"  runat="server">
                                        <ItemTemplate>
                                              <tr id='<%# Eval("id") %>'>
                                                <td align="left" width="60">
                                                   <%#Eval("mail") %>
                                                </td>
                                                <td align="left" >
                                                   <%#Eval("tarih") %>
                                                </td>
                                                <td align="center" style= ""width="150">

                                                
                                                    <input type="button" id="btnSil" class="btn btn-xs btn-danger" style="width: 24px;height: 24px;" value="X" onclick="sil(<%# Eval("id") %>);" />
                                                    
                                                </td>
                                            </tr>
                                        </ItemTemplate>
                                    </asp:Repeater>
                                    
                                 <%-- Repeater son --%>
                                </tbody>
                            </table>
                            <div class="widget-foot">
                                <div style="width:1265px; float:left; font-size:13px;">
                                <cc1:CollectionPager ID="pagerReferans" PageSize="15" runat="server"  ControlCssClass="Sayfalama"
            BackNextLocation="Split" BackText="&amp;nbsp;<<" FirstText="İlk" LabelText="&amp;nbsp; Sayfa  : &amp;nbsp;" 
            LastText="Son" NextText="&amp;nbsp;>>" QueryStringKey="Sayfa" 
            ResultsFormat="Sayfa  {0}-{1} (of {2})" BackNextDisplay="HyperLinks" ResultsLocation="None" MaxPages="1000" SectionPadding="10" SliderSize="10">
        </cc1:CollectionPager></div>
                                <div class="clearfix">
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- Matter ends -->
</asp:Content>

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists