예제 #1
0
function themeIdea_SetTheme($id, $idea)
{
    return db_QueryUpdate("UPDATE " . SH_TABLE_PREFIX . SH_TABLE_THEME_IDEA . "\n\t\tSET\n\t\t\tidea=?\n\t\tWHERE\n\t\t\tid=?;", $idea, $id);
}
예제 #2
0
function user_AuthTimeSetNow($id)
{
    return db_QueryUpdate("UPDATE " . SH_TABLE_PREFIX . SH_TABLE_USER . "\n\t\tSET\n\t\t\tlast_auth=NOW()\n\t\tWHERE\n\t\t\tid=?;", $id);
}