root/ip/tags/release_1_3_0_53/install/includes/functions_install.php
| 111 | 163 | ||
|---|---|---|---|
1620 | 1620 | ||
1621 | while ($row = $db->sql_fetchrow($result)) | 1621 | while ($row = $db->sql_fetchrow($result)) |
1622 | { | 1622 | { |
1623 | $birthday_year = date('Y', ($row['user_birthday'] * 86400) + 1); | 1623 | $birthday_year = gmdate('Y', ($row['user_birthday'] * 86400) + 1); |
1624 | $birthday_month = date('n', ($row['user_birthday'] * 86400) + 1); | 1624 | $birthday_month = gmdate('n', ($row['user_birthday'] * 86400) + 1); |
1625 | $birthday_day = date('j', ($row['user_birthday'] * 86400) + 1); | 1625 | $birthday_day = gmdate('j', ($row['user_birthday'] * 86400) + 1); |
1626 | $sql_update = "UPDATE " . USERS_TABLE . " SET user_birthday_y = '" . $birthday_year . "', user_birthday_m = '" . $birthday_month . "', user_birthday_d = '" . $birthday_day . "' WHERE user_id = '" . $row['user_id'] . "'"; | 1626 | $sql_update = "UPDATE " . USERS_TABLE . " SET user_birthday_y = '" . $birthday_year . "', user_birthday_m = '" . $birthday_month . "', user_birthday_d = '" . $birthday_day . "' WHERE user_id = '" . $row['user_id'] . "'"; |
1627 | 1627 | ||
1628 | if (!$result_new = $db->sql_query($sql_update)) | 1628 | if (!$result_new = $db->sql_query($sql_update)) |
... | ... | ||
2476 | $update_options .= '<li><a href="' . ip_functions::append_sid(THIS_FILE . '?mode=update_12936' . $lang_append) . '"><span class="text_gray">' . $lang['Upgrade_From'] . ' ' . $lang['Upgrade_From_Version'] . ' 1.2.9.36</span></a><br /><br /></li>' . "\n"; | 2476 | $update_options .= '<li><a href="' . ip_functions::append_sid(THIS_FILE . '?mode=update_12936' . $lang_append) . '"><span class="text_gray">' . $lang['Upgrade_From'] . ' ' . $lang['Upgrade_From_Version'] . ' 1.2.9.36</span></a><br /><br /></li>' . "\n"; |
2477 | $update_options .= '<li><a href="' . ip_functions::append_sid(THIS_FILE . '?mode=update_121239' . $lang_append) . '"><span class="text_gray">' . $lang['Upgrade_From'] . ' ' . $lang['Upgrade_From_Version'] . ' 1.2.12.39</span></a><br /><br /></li>' . "\n"; | 2477 | $update_options .= '<li><a href="' . ip_functions::append_sid(THIS_FILE . '?mode=update_121239' . $lang_append) . '"><span class="text_gray">' . $lang['Upgrade_From'] . ' ' . $lang['Upgrade_From_Version'] . ' 1.2.12.39</span></a><br /><br /></li>' . "\n"; |
2478 | $update_options .= '<li><a href="' . ip_functions::append_sid(THIS_FILE . '?mode=update_121542' . $lang_append) . '"><span class="text_gray">' . $lang['Upgrade_From'] . ' ' . $lang['Upgrade_From_Version'] . ' 1.2.15.42</span></a><br /><br /></li>' . "\n"; | 2478 | $update_options .= '<li><a href="' . ip_functions::append_sid(THIS_FILE . '?mode=update_121542' . $lang_append) . '"><span class="text_gray">' . $lang['Upgrade_From'] . ' ' . $lang['Upgrade_From_Version'] . ' 1.2.15.42</span></a><br /><br /></li>' . "\n"; |
2479 | $update_options .= '<li><a href="' . ip_functions::append_sid(THIS_FILE . '?mode=update_121845' . $lang_append) . '"><span class="text_blue">' . $lang['Upgrade_From'] . ' ' . $lang['Upgrade_From_Version'] . ' 1.2.18.45 (' . $lang['Upgrade_Higher'] . ')</span></a><br /><br /></li>' . "\n"; | 2479 | $update_options .= '<li><a href="' . ip_functions::append_sid(THIS_FILE . '?mode=update_121845' . $lang_append) . '"><span class="text_gray">' . $lang['Upgrade_From'] . ' ' . $lang['Upgrade_From_Version'] . ' 1.2.18.45</span></a><br /><br /></li>' . "\n"; |
2480 | $update_options .= '<li><a href="' . ip_functions::append_sid(THIS_FILE . '?mode=update_13053' . $lang_append) . '"><span class="text_blue">' . $lang['Upgrade_From'] . ' ' . $lang['Upgrade_From_Version'] . ' 1.3.0.53 (' . $lang['Upgrade_Higher'] . ')</span></a><br /><br /></li>' . "\n"; | ||
2480 | $update_options .= '</ul></div>' . "\n"; | 2481 | $update_options .= '</ul></div>' . "\n"; |
2481 | 2482 | ||
2482 | // Output the spoiler | 2483 | // Output the spoiler |
Download diff