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>Bedrag in Procent berekenen</title> | |
<style> | |
fieldset { | |
margin-bottom: 1em; | |
} | |
input { |
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
// #1 - Javascript snippet to let users join allowed channels only - See: http://redmine.lightirc.com/issues/647 | |
function onClientCommand(command) { | |
var raw = command.split(' '); | |
var chanArray = ['#test', '#test1', '#test2']; | |
if (raw[0] == 'JOIN' && raw[1].charAt(0) == '#') { | |
if (chanArray.indexOf(raw[1]) < 0) { | |
alert('Sorry, this channel isn\'t allowed'); | |
command = ''; | |
} |
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
li { list-style: none; } | |
ul#youtube-grabber { background: #ffffff; border: solid 1px #000000; overflow: auto; height: 150px; width: 500px; } |
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
How To Use: | |
Create folder: start | |
Download lightIRC: http://lightirc.com/download.html | |
Put all files in start folder | |
Put index.php in start folder | |
Remove index.html | |
Do not forgot to set ur own default settings: |
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
Changes 2015-02-24: | |
Better Security for $_POST with Errormessages: | |
- If username is Empty | |
- If a username don't have legal characters (You can add more values in preg_match()) | |
- If Length of username is longer/shorter than default values (You can change both length of username) | |
- If username have bad names (You can add more bad names in array of $badNames) | |
- If gender is Empty | |
- If gender value is other than default values |
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
-- | |
-- Tabelstructuur voor tabel `users` | |
-- | |
CREATE TABLE IF NOT EXISTS `users` ( | |
`id` int(11) NOT NULL AUTO_INCREMENT, | |
`username` varchar(15) NOT NULL, | |
`gender` varchar(10) NOT NULL, | |
`birthdate` date NOT NULL, | |
PRIMARY KEY (`id`), |
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
var hWidth, bWidth; | |
function setBgPos(v) { | |
var off = v * hWidth; | |
var pos = -bWidth + (v * bWidth); | |
$('slider').setStyle({backgroundPosition: Math.round(pos - off) + 'px'}); | |
} | |
function setSlideOutput(v) { | |
$('percent').innerHTML = Math.round(v * 100) + '%'; | |
} | |
Event.observe(window, 'load', function() { |
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> | |
<head> | |
<title>Simple lightIRC iFrame Generator By MaleXachi</title> | |
<meta charset="utf-8"> | |
<style> | |
body{font-family:Verdana;font-size:12px;width:920px;margin:10px auto 0;margin-bottom: 20px;} | |
h2{font-size: 14px;} | |
</style> | |
</head> | |
<body> |
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> | |
<title>lightIRC Config Generator - By MaleXachi</title> | |
<meta charset='utf-8'> | |
<?php | |
header("Expires: Mon, 26 Jul 1990 05:00:00 GMT"); | |
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); | |
header("Cache-Control: no-store, no-cache, must-revalidate"); | |
header("Cache-Control: post-check=0, pre-check=0", false); |