This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. | |
| // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. | |
| using IdentityModel.Client; | |
| using Newtonsoft.Json.Linq; | |
| using System; | |
| using System.Net.Http; | |
| using System.Threading.Tasks; | |
| namespace Client |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using Microsoft.AspNetCore.Builder; | |
| using Microsoft.AspNetCore.Hosting; | |
| using Microsoft.Extensions.Configuration; | |
| using Microsoft.Extensions.DependencyInjection; | |
| using Microsoft.Extensions.Logging; | |
| using Microsoft.AspNetCore.Identity.EntityFrameworkCore; | |
| using Server.Data; | |
| using Microsoft.EntityFrameworkCore; | |
| using Microsoft.AspNetCore.Identity; | |
| using System.Linq; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="wrapper wrapper-content"> | |
| <?php | |
| if(isset($_GET['page'])){ | |
| $page = $_GET['page']; | |
| if($page== 1){ | |
| include("pages/mycars.php"); | |
| } else if($data['location'] == ''){ | |
| include('pages/additional_info.php'); | |
| }else{ | |
| //display reports |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| int myValue = 0; | |
| TextView txtResult=(TextView)findViewById(R.id.txtResult); | |
| //Then button event | |
| btnIncrement.setOnClickListener(new OnClickListener() { | |
| @Override | |
| public void onClick(View v) { | |
| // score operation like score += increment_value; | |
| txtResult.setText(""+myValue); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <ul class="navbar-nav flex-row flex-nowrap" | |
| data-selected-menu-item="128" | |
| data-current-category-id="128" | |
| data-current-product-id="0" | |
| data-current-manufacturer-id="0"> | |
| <li class='nav-item selected' id="main-nav-item-183" data-id="183"> | |
| <a href="@Html.ActionLink("Index","Home")" class="nav-link"> | |
| Pwani Life -All Brands | |
| </a> | |
| @Html.ActionLink("Pwani Life-All Brands","Index","Home",null, new { @class= "nav-link" }) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html>" | |
| + "<html>" | |
| + "<head>" | |
| + "<meta http-equiv='Content-Type' content='text/html;charset=utf-8'/>" | |
| + "<meta name='viewport' content='width=device-width,initial-scale=1'>" | |
| + "<meta http-equiv='X-UA-Compatible' content='IE=edge'/>" | |
| + "<title>Saleslife-Commerce</title>" | |
| + "<body style='margin: 0 !important;padding:0 !important;background-color:#eeeeee;' bgcolor='#eeeeee'>" | |
| + "<div style='display:none;font-size:1px;color:#fefefe;line-height:1px;font-family:Open Sans,Helvetica,Arial,sans-serif;max-height:0px;max-width:0px;opacity:0;overflow:hidden;'>" | |
| + "It was really a pleasure doing business with you!Thank you for choosing us!</div>" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| The error message means that some other program has created A-C-arrow hotkeys which blocks VW from using them. There are two changes I can think of that could explain this change in behaviour: | |
| 1) The default bindings have changed from WIN-arrow (i.e. WIN-up) to A-C-up, which did you use? If you used (and want to continue to use) WIN-up then simply redefine the bindings and it should work as before. | |
| 2) VrituaWin's startup process changed and is a more delayed, spread out process - insignificant in human terms but required for Win7 as it creates other things like the taskbar in a different order. In theory this would allow another program to steal the bindings, i.e. you always had a conflict but in previous versions, VW won and the other program did not complain like VW does. | |
| So can you please look at all other software you are running and check for any that also use hotkeys (I know that some graphics drivers use these hotkeys for rotating the screen). | |
| The actual hotkey creation and binding process has not chan |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import createBrowserHistory from 'history/createBrowserHistory' | |
| import queryString from 'query-string'; | |
| const history = createBrowserHistory(); | |
| history.location.query = queryString.parse(history.location.search); | |
| history.listen(() => { | |
| history.location.query = queryString.parse(history.location.search); | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public int UpdateCartCount(int? id, int cartCount) | |
| { | |
| // Get the cart | |
| var cartItem = db.CartItem.Single( | |
| cart => cart.cart_id == ShoppingCartId | |
| && cart.item_id == id); | |
| int itemCount = 0; | |
| //get Promos | |
| var promos = db.Promotions.Single(promo=>promo.Buy_ItemId==id); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="artlist artlist-grid artlist-6-cols artlist-boxed artlist-homepage-categories"> | |
| <div class="heading heading-center"> | |
| <h3 class="heading-title fs-h1">Promotions</h3> | |
| </div> | |
| @foreach (var item_cat in Item_Categories) | |
| { | |
| var image_url = "/images/"; | |
| var img = image_url + item_cat.item_group_id + ".png"; | |
| <article class="art" data-id="183"> | |
| <div class="art-picture-block"> |