This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// error_reporting(E_ERROR | E_WARNING | E_PARSE | E_NOTICE); | |
error_reporting(E_ALL ^ E_NOTICE); | |
class latest { | |
private $basepath; | |
private $flags; | |
public $parentDir; | |
private $thumbDirName = 'thumbnails'; | |
public $i = 1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$loc = '/opt/lampp/archive/data/'; | |
$i = 0; | |
latestThumb($loc); | |
function pre($what, $stop = false ){ | |
echo "<pre>"; | |
print_r($what); | |
echo "</pre>"; | |
if ($stop) die; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$project_dir = '/opt/lampp/htdocs/parixan/data'; | |
$RealPath = realpath($project_dir); | |
var_dump($RealPath); | |
$Directory = new RecursiveDirectoryIterator($RealPath, FilesystemIterator::SKIP_DOTS | FilesystemIterator::CURRENT_AS_FILEINFO); | |
foreach ($Directory as $dir) { | |
if( $Directory->hasChildren() ) { | |
$ch = $Directory->getChildren(); | |
// var_dump($ch->key()); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Create Wish Card</title> | |
<link rel="stylesheet" type="text/css" href="wish.css"> | |
</head> | |
<body> | |
<form action="blank.php" method="post" > | |
<div id="wishBox"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<link rel="stylesheet" href="phone.css"> | |
<title>Giggles</title> | |
</head> | |
<body> | |
<span>Giggle my numer</span> | |
<ul class="scheme"> | |
<li class="cc1" ></li> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ul.scheme { | |
min-height: 30px; | |
width: 180px; | |
margin-left:-30px; | |
list-style-type: none; | |
counter-reset: chrome-counter; | |
} | |
li { | |
margin: 2px 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ext.BLANK_IMAGE_URL = './extjs/resources/images/default/s.gif'; | |
MyApp = {}; | |
// get Context of the current location | |
// First we look for the tag <base> from HTML | |
// and if tag is not then look for the URL then | |
// @return parent location of the current file including `/` | |
MyApp.getContext = function() { | |
var base = document.getElementsByTagName('base')[0]; |
NewerOlder