diff --git a/result.php b/result.php index c8f34b3..b682e25 100644 --- a/result.php +++ b/result.php @@ -1,56 +1,42 @@ ' . yourls__( 'Antispam check failed!', 'isq_translation') . '
'); - // } +// antispam +// if ( isset($_POST['antispam']) && $_POST['antispam'] != user ) { +// exit('' . yourls__( 'Antispam check failed!', 'isq_translation') . '
'); +// } - $url = yourls_sanitize_url( $_REQUEST['url'] ); - $keyword = isset( $_REQUEST['keyword'] ) ? yourls_sanitize_keyword( $_REQUEST['keyword'] ): '' ; - $title = isset( $_REQUEST['title'] ) ? yourls_sanitize_title( $_REQUEST['title'] ) : '' ; - $return = yourls_add_new_link( $url, $keyword, $title ); +$url = yourls_sanitize_url( $_REQUEST['url'] ); +$keyword = isset( $_REQUEST['keyword'] ) ? yourls_sanitize_keyword( $_REQUEST['keyword'] ): '' ; +$title = isset( $_REQUEST['title'] ) ? yourls_sanitize_title( $_REQUEST['title'] ) : '' ; +$return = yourls_add_new_link( $url, $keyword, $title ); - $shorturl = isset( $return['shorturl'] ) ? $return['shorturl'] : ''; - $message = isset( $return['message'] ) ? $return['message'] : ''; - $title = isset( $return['title'] ) ? $return['title'] : ''; - - if (!empty(ISQ::$social['facebook'])) { $ISQfacebook = '
'; }
- if (!empty(ISQ::$social['twitter'])) { $ISQtwitter = 'Tweet'; }
- if (!empty(ISQ::$social['plus'])) { $ISQplus = ''; }
- if (!empty(ISQ::$social['linkedin'])) { $ISQlinkedin = ''; }
- if (!empty(ISQ::$general['qr'])) { $ISQqr = '' . yourls__( 'Share your link with external devices', 'isq-translation' ) . '
$ISQlongcopy
-$ISQshortcopy
-$ISQstatscopy
-$output_copy
-$output_share_p
- $ISQfacebook - $ISQtwitter - $ISQplus - $ISQlinkedin + +' . yourls__( 'Copy to Clipboard', 'isq-translation' ) . ''; } ?>
+' . yourls__( 'Copy to Clipboard', 'isq-translation' ) . ''; } ?>
+' . yourls__( 'Copy to Clipboard', 'isq-translation' ) . ''; } ?>
+ +' . yourls__( 'Share your link with external devices', 'isq-translation' ) . '
'; } ?>
+Tweet'; } ?>
+'; } ?>
+'; } ?>
+
+
\ No newline at end of file