Location: PHPKode > scripts > WH Social > wh_social/admin/handler/meta/revisit.php
<?php

        $revisit = '../framework//meta/revisit.php';

        if(isset($_POST['revisit']) && !empty($_POST['revisit'])) {

        if(is_writable($revisit)) {

        if(!$handle = fopen($revisit, "w+")) {

            echo '<p class="false">' . $lang['meta_not_opened'] . '</p>';
            }

        if(!fwrite($handle, $_POST['revisit_content'])) {

            echo '<p class="false">' . $lang['meta_failed'] . '</p>';
            }

        echo '<p class="success">' . $lang['meta_succes'] . '</p>';

        fclose($handle);

            }else{

            echo '<p class="false">' . $lang['no_wr_permissions'] . '</p>';
            }

        }else{

        $revisit_content = file_get_contents($revisit);

        echo '<form method="post" action="" name="meta">
        <p><input type="text" name="revisit_content" class="tagfields" required size="40" value="' . $revisit_content . '" maxlength="90"> Revisit</p>
        <p><input type="submit" name="revisit" id="revisit" value="' . $lang['metaact_1r'] . '" class="buttons"></p>';
        }

?>
Return current item: WH Social