Your IP : 216.73.216.40


Current Path : /var/www/html/ajay/phpwebsite-1.8.x/javascript/confirm/
Upload File :
Current File : /var/www/html/ajay/phpwebsite-1.8.x/javascript/confirm/default.php

<?php
/**
 * @version $Id$
 * @author Matthew McNaney <mcnaney at gmail dot com>
 */

if (isset($data['question'])) {
    $data['QUESTION'] = $data['question'];
}

if (isset($data['link'])) {
    $data['LINK'] = $data['link'];
}

if (isset($data['address'])) {
    $data['ADDRESS'] = $data['address'];
}

if (isset($data['type'])) {
    if ($data['type'] == 'button') {
        $bodyfile = PHPWS_SOURCE_DIR . 'javascript/confirm/body2.js';
    }
}

$data['QUESTION'] = preg_replace("/(?<!\\\)'/", "\'", $data['QUESTION']);
$data['QUESTION'] = str_replace('"', '&quot;', $data['QUESTION']);


?>