Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if ( isset( $_POST['B1'] ) )
- {
- //Define file name here
- $sitename = $_POST['sitename'];
- //Define title tag for new file
- $title = $_POST['title'];
- //Define youtube video link here
- $body = $_POST['body'];
- //Define youtube video link here
- $comment = $_POST['comment'];
- //Define youtube video link here
- $paypal = stripslashes($_POST['paypal']);
- //Define the ad code that they put
- $first_include = stripslashes($_POST['1.php']);
- //Define the ad code that they put
- $Reddit = stripslashes($_POST['Reddit']);
- //Convert video link from normal link embed link
- $embedcode = str_replace( '/watch?v=', '/embed/', $body );
- //Put it all together (-1)
- $entry_line1 = "<html><head>";
- //Put it all together (1)
- $entry_line2 = "<title>" . $title . "</title></head><body><h1>$title</h1><br><img src=" . $embedcode . " alt=" . $title . "/><br><br>$comment<br><br><center><script>function fbs_click() {u=location.href;t=document.title;window.open('http://www.facebook.com/sharer.php?u='+encodeURIComponent(u)+'&t='+encodeURIComponent(t),'sharer','toolbar=0,status=0,width=626,height=436');return false;}</script><style> html .fb_share_link { padding:2px 0 0 20px; height:16px; background:url(http://static.ak.facebook.com/images/share/facebook_share_icon.gif?6:26981) no-repeat top left; }</style><a rel='nofollow' href='http://www.facebook.com/share.php?u=<http://reptiliatus.com/Cpanel/$sitename.php>' onclick='return fbs_click()' target='_blank' class='fb_share_link'>Please click here to share on Facebook</a></center><br><br><br><center>" . $first_include . "</center><br><br><br><center>" . $paypal . "</center></body></html>";
- //Put it all together (2) Reddit
- $entry_line3 = "<a href='http://www.reddit.com/submit?url=http://reptiliatus.com/Cpanel/cut/$sitename.php'><img src='http://reptiliatus.com/Cpanel/redit_icon.png'> </a>";
- //Put it all together (3) Twitter
- $entry_line4 = "<a href='https://twitter.com/intent/tweet?original_referer=http%3A%2F%2Fimgur.com%2Fgallery%2FvyhJi&url=http%3A%2F%2Freptiliatus.com%2FCpanel%2F$sitename.php&via=Checkthisupcom'><img src='http://reptiliatus.com/Cpanel/twitter.png'></a>";
- //Put it all together (4) Paypal Donate
- $entry_line5 = "<center><form action='https://www.paypal.com/cgi-bin/webscr' method='post'><input type='hidden' name='cmd' value='_s-xclick'><input type='hidden' name='hosted_button_id' value='DYZUWM4KEN6EW'><input type='image' src='https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif' border='0' name='submit' alt='PayPal></form>";
- //Make file here with earlier specified file name
- $fp = fopen( "$sitename.php", "a" );
- //Put the files contents in here
- fputs( $fp, $includeA);
- fputs( $fp, $entry_line2);
- fputs( $fp, $entry_line3);
- fputs( $fp, $entry_line4);
- fputs( $fp, $entry_line5);
- fclose( $fp );
- echo "<a href='$sitename.php'>CLICK HERE TO VISIT YOUR SITE<p/></a>";
- }
- ?>
- <form method='POST' action='<?php echo $_SERVER['PHP_SELF'] ?>'>
- File Name:<br/>
- <input type='sitename' name='sitename'>.php
- <p/>
- Page Title: (max 255 chars)<br/>
- <input type='title' name='title'>
- <p/>
- Image Link:<br/>
- <input type='body' name='body'>
- <p/>
- Comment:<br/>
- <input type='comment' name='comment'>
- <p/>
- <input type='submit' name='B1' value='Create new page'>
- </form>
- <a href="http://reptiliatus.com/Cpanel/">Back To cPanel</a><br><br><br><br>
Add Comment
Please, Sign In to add comment