[ Mini Kiebo ]
Server: Windows NT DESKTOP-5B8S0D4 6.2 build 9200 (Windows 8 Professional Edition) i586
Path:
D:
/
Backup
/
14082024
/
Data
/
htdocs
/
htdocs
/
sarpras
/
html
/
dashboards
/
[
Home
]
File: crops.php
<html> <head> <script src="jcrop/jquery.min.js"></script> <script src="jcrop/jquery.Jcrop.js"></script> <link rel="stylesheet" href="jcrop/jquery.Jcrop.css" type="text/css" /> <script type="text/javascript"> $(function(){ $("#cropbox").Jcrop({ aspectRatio: 200/200, onSelect: updateCoords, minSize:[200,200] }); }); function updateCoords(c) { $("#x").val(c.x); $("#y").val(c.y); $("#w").val(c.w); $("#h").val(c.h); $("#act").removeAttr("disabled"); }; </script> </head> <body> <form action="proses.php?img=<?php echo $_GET["img"];?>" method="POST"> <center> <img src="mediamanager/<?php echo $_GET["img"];?> " id="cropbox"/> </center> <input type="hidden" id="x" name="x" /> <input type="hidden" id="y" name="y" /> <input type="hidden" id="w" name="w" /> <input type="hidden" id="h" name="h" /> <input type="hidden" name="source" value="mediamanager/<?php echo $_GET["img"];?>"/> <br/> <center> <p>Potong Gambar sesuai ukuran yang dibutuhkan, Lalu Klik Crop & Selesai</p> <span class="input-group-btn"> <button type="submit" id="act" disabled="disabled" name="crop"><i class="icon-crop"></i> Crop & Selesai</button> <button type="submit" id="act2" name="crop2"><i class="icon-crop"></i> Selesai</button> </center> </span> </form> </body> </html>