Пример #1
0
        echo $TA;
        ?>
的婚姻状况符合您择偶要求"><img src="public/system/images/123.gif" alt="<?php 
        echo $TA;
        ?>
的婚姻状况符合您择偶要求"></font><?php 
    }
}
?>
                                </li>
                            <li>生&nbsp;&nbsp;&nbsp;&nbsp;肖:<?php 
if ($user['birthyear'] == '0') {
    ?>
保密<?php 
} else {
    echo get_signs($user['birthyear']);
}
?>
</li>
                            <li>公司类型:<?php 
if ($user['corptype'] == '0') {
    ?>
保密<?php 
} else {
    ?>
<script>userdetail('<?php 
    echo $user['corptype'];
    ?>
',corptype)</script><?php 
}
?>
Пример #2
0
function ajax_czodiac()
{
    $birth = MooGetGPC('birth', 'string', 'P');
    $birthyear = MooGetGPC('birthyear', 'string', 'P');
    $czodiac = array();
    if (!empty($birth)) {
        list($y, $m, $d) = explode('-', date('Y-m-d', $birth));
        //birth modify
        $y = $birthyear;
        $czodiac = get_signs($y, $m, $d);
    }
    echo urldecode(json_encode($czodiac));
    exit;
}