Dre4m Shell
Server IP : 103.6.199.200  /  Your IP : 3.144.93.34
Web Server : Microsoft-IIS/10.0
System : Windows NT EMPUSA 10.0 build 20348 (Windows Server 2016) i586
User : EMPUSA$ ( 0)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/Domains/tradepan/youth.trade-panel.com/wwwroot/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : C:/Domains/tradepan/youth.trade-panel.com/wwwroot/loss.aspx
<%@ page language="C#" autoeventwireup="true" inherits="loss, App_Web_7mrvpukg" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
    
        <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
    <script type="text/javascript" src="http://cdn.rawgit.com/niklasvh/html2canvas/master/dist/html2canvas.min.js"></script>
    <script type="text/javascript">
        function ConvertToImage(btnExport) {
            html2canvas($("#dvTable")[0]).then(function (canvas) {
                var base64 = canvas.toDataURL();
                $("[id*=hfImageData]").val(base64);
                __doPostBack(btnExport.name, "");
            });
            return false;
        }
        
        function ConvertToImage2(btnExport) {

            return false;
        }
                
         
        $(function() { 
    $("#Button3").click(function() { 
        html2canvas($("#dvTable11"), {
            onrendered: function(canvas) {
                theCanvas = canvas;
                document.body.appendChild(canvas);

                // Convert and download as image 
                Canvas2Image.saveAsPNG(canvas); 
                $("#img-out").append(canvas);
                // Clean up 
                //document.body.removeChild(canvas);
            }
        });
    });
});

    </script>
    
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
    


        <div id="dvTable1l">
            <table id="dvTable">
                <tr><td>ID</td><td>Name</td></tr>
                <tr><td>1001</td><td>AAA</td></tr>
                <tr><td>1002</td><td>BBB</td></tr>
            </table>
        </div>
        <div>
            <asp:HiddenField ID="hfImageData" runat="server" />
            <asp:Button ID="btnExport" Text="Export to Image" runat="server" 
                OnClick="btnExport_Click" OnClientClick="return ConvertToImage(this);"  />
        </div>
        
        <asp:Button ID="Button2" runat="server"  OnClick="btnExport_Click"  Text="Buttsson" />
        
        <div id="html-content-holder" style="width: 500px; padding-left: 25px; padding-top: 10px;">

        <asp:Image ID="dd" runat="server" ImageUrl="https://www.eup4u.com/img/background_header2_img.jpg" Width="500px" Height="500px" />

        </div>
        <%--<input id="btn-Preview-Image" type="button" value="Preview" />--%>
        <a id="btn-Convert-Html2Image" href="#">Download</a>

        <div id="previewImage">
        </div>

    </div>
        <asp:Button ID="Button1" runat="server" Text="Button" OnClick="Button1_Click" />
        
 <asp:Button ID="Button3" runat="server" Text="Button222"  />
   
    <div id="hello2" runat="server">
            hello2 div test
    </div>
 <asp:Button ID="Button4" runat="server" Text="Button" onclick="Button111_Click" />

    </form>
</body>
</html>

Anon7 - 2022
AnonSec Team